summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index a5dbcb8..e8030f1 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -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 )
+ )
+ );
}
}
}