diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-20 11:00:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-20 11:00:16 +0200 |
commit | 12e55126ec17f49cd8af27d172c96fd61fd2297a (patch) | |
tree | 5a486f137d8039d7fd77d8fcf255cc734cd36773 | |
parent | 32d2097986093cb8c5cf7a769328d97b3e61145f (diff) |
train details: fix missing promise when result has no wr_link3.3.0
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 9706b39..d65bc6c 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -464,6 +464,9 @@ sub render_train { } )->wait; } + else { + $wagonorder_req->resolve; + } $self->wagonorder->get_stationinfo_p( $result->station_uic )->then( sub { |