work: not finding a departing train is not critical
This commit is contained in:
parent
4b37560640
commit
2534cae31f
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ sub run {
|
|||
@{ $status->{results} };
|
||||
|
||||
if ( not $train ) {
|
||||
die("could not find train $train_id at $dep\n");
|
||||
$self->log->info(
|
||||
"could not find train $train_id at $dep\n");
|
||||
return;
|
||||
}
|
||||
|
||||
$self->app->in_transit->update_departure(
|
||||
|
|
Loading…
Reference in a new issue