summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen/Controller/Wagenreihung.pm3
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;