traewelling: trace missing username bug
This commit is contained in:
parent
41cc5f3c25
commit
c3a43725d4
1 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,13 @@ sub pull_sync {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( not defined $account_data->{data}{user_name} ) {
|
||||||
|
$self->app->log->error(
|
||||||
|
"travelynx user $account_data->{user_id} has a Traewellig connection, but no username"
|
||||||
|
);
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
# $account_data->{user_id} is the travelynx uid
|
# $account_data->{user_id} is the travelynx uid
|
||||||
# $account_data->{user_name} is the Träwelling username
|
# $account_data->{user_name} is the Träwelling username
|
||||||
$request_count += 1;
|
$request_count += 1;
|
||||||
|
|
Loading…
Reference in a new issue