summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-04-27 12:50:53 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-04-27 12:50:53 +0200
commitb549bb47e473fc37916622463d2dd8b0b8df93ed (patch)
treeab1db63fd34feaa32e96e1769808f5485b5439fd
parent83dc422c3a0ba2243e2ed22410a9de0e9bb502b0 (diff)
WR error: forward exceptions to frontend
-rw-r--r--lib/DBInfoscreen/Controller/Wagenreihung.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Wagenreihung.pm b/lib/DBInfoscreen/Controller/Wagenreihung.pm
index f4fea89..03a607d 100644
--- a/lib/DBInfoscreen/Controller/Wagenreihung.pm
+++ b/lib/DBInfoscreen/Controller/Wagenreihung.pm
@@ -184,7 +184,7 @@ sub wagenreihung {
my ($err) = @_;
$self->handle_wagenreihung_error( $train,
- $err->{error}->{msg} // "Unbekannter Fehler" );
+ $err->{error}->{msg} // $err // "Unbekannter Fehler" );
return;
}
)->wait;