From 73030d2ae4e1a996cb5473c91a7e62eb496cb775 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 16 Aug 2024 18:35:40 +0200 Subject: [PATCH] improve hafas checkin error message for route issues --- lib/Travelynx.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) {