diff options
Diffstat (limited to 'lib/Travelynx')
-rw-r--r-- | lib/Travelynx/Command/work.pm | 7 | ||||
-rw-r--r-- | lib/Travelynx/Helper/Traewelling.pm | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index 3f8bcd3..8be1cb2 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -257,7 +257,7 @@ sub run { $self->app->traewelling->log( uid => $candidate->{uid}, message => -"Fehler bei $candidate->{train_type} $candidate->{train_no}: Keine trip_id vorhanden", +"Konnte $candidate->{train_type} $candidate->{train_no} nicht übertragen: Keine trip_id vorhanden", is_error => 1 ); next; @@ -293,9 +293,8 @@ sub run { sub { my ($err) = @_; $self->app->traewelling->log( - uid => $account_data->{user_id}, - message => - "Fehler bei der Status-Abfrage von Träwelling: $err", + uid => $account_data->{user_id}, + message => "Fehler bei der Status-Abfrage: $err", is_error => 1 ); $self->app->log->debug("Error $err"); diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm index 401d9a6..430ef62 100644 --- a/lib/Travelynx/Helper/Traewelling.pm +++ b/lib/Travelynx/Helper/Traewelling.pm @@ -362,7 +362,7 @@ sub checkin { $self->{model}->log( uid => $opt{uid}, message => -"Checkin-Fehler bei $opt{train_type} $opt{train_no}: $err_msg", +"Konnte $opt{train_type} $opt{train_no} nicht übertragen: $err_msg", is_error => 1 ); return; @@ -392,7 +392,7 @@ sub checkin { $self->{model}->log( uid => $opt{uid}, message => - "Checkin-Fehler bei $opt{train_type} $opt{train_no}: $err", +"Konnte $opt{train_type} $opt{train_no} nicht übertragen: $err", is_error => 1 ); } |