improve hafas checkin error message for route issues

This commit is contained in:
Birte Kristina Friesel 2024-08-16 18:35:40 +02:00
parent 917f8560a3
commit 73030d2ae4
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -556,7 +556,8 @@ sub startup {
} }
if ( not $found ) { if ( not $found ) {
$promise->reject( $promise->reject(
"Did not find journey $train_id at $station"); "Did not find stop '$station' within journey '$train_id'"
);
return; return;
} }
for my $stop ( $journey->route ) { for my $stop ( $journey->route ) {