diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-08-13 18:57:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-08-13 18:57:43 +0200 |
commit | 9560bd6e53ca30b16c0ee8684ce21ec446250725 (patch) | |
tree | fd9ee541c468ca092ed11fc3a12e46a154530a5c /lib/DBInfoscreen/Controller/Wagenreihung.pm | |
parent | f988d539bb3e41c52dcfd5cb1942261a14d77705 (diff) |
correctly show wagon order error message4.5.3
was broken by ca372be9811a183d11a00abd539442a9e2e53cae
Diffstat (limited to 'lib/DBInfoscreen/Controller/Wagenreihung.pm')
-rw-r--r-- | lib/DBInfoscreen/Controller/Wagenreihung.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Wagenreihung.pm b/lib/DBInfoscreen/Controller/Wagenreihung.pm index d99a71c..b7c6d84 100644 --- a/lib/DBInfoscreen/Controller/Wagenreihung.pm +++ b/lib/DBInfoscreen/Controller/Wagenreihung.pm @@ -277,7 +277,8 @@ sub wagenreihung { sub { my ($err) = @_; - $self->handle_wagenreihung_error( $train, scalar $err ); + $self->handle_wagenreihung_error( $train, + $err->{error}->{msg} // "Unbekannter Fehler" ); return; } )->wait; |