From 12e55126ec17f49cd8af27d172c96fd61fd2297a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 20 Sep 2020 11:00:16 +0200 Subject: train details: fix missing promise when result has no wr_link --- lib/DBInfoscreen/Controller/Stationboard.pm | 3 +++ 1 file changed, 3 insertions(+) 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 { -- cgit v1.2.3