improve hafas checkin error message for route issues
This commit is contained in:
parent
917f8560a3
commit
73030d2ae4
1 changed files with 2 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue