summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
-rw-r--r--lib/Travelynx/Command/work.pm7
1 files changed, 3 insertions, 4 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");