Skip to content
Snippets Groups Projects
Commit 3ca18af9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

make unknown stations warning more helpful

parent e8ff7303
No related branches found
No related tags found
No related merge requests found
......@@ -757,8 +757,15 @@ sub startup {
= $self->grep_unknown_stations( $train->route );
if (@unknown_stations) {
$self->app->log->warn(
'Encountered unknown stations: '
. join( ', ', @unknown_stations ) );
sprintf(
'Route of %s %s (%s -> %s) contains unknown stations: %s',
$train->type,
$train->train_no,
$train->origin,
$train->destination,
join( ', ', @unknown_stations )
)
);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment