summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-16 18:35:40 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-16 18:35:40 +0200
commit73030d2ae4e1a996cb5473c91a7e62eb496cb775 (patch)
treea14c09ef012a9ed3f2796301189d430642a28f8d /lib
parent917f8560a36ccb3acbc4954b4831caebc9387752 (diff)
improve hafas checkin error message for route issues
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index b4a9e06..3c902e5 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -556,7 +556,8 @@ sub startup {
}
if ( not $found ) {
$promise->reject(
- "Did not find journey $train_id at $station");
+"Did not find stop '$station' within journey '$train_id'"
+ );
return;
}
for my $stop ( $journey->route ) {