summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/work.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-02-17 21:40:47 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-02-17 21:40:47 +0100
commit582bfbe661d25ec721a35c795cdd7f5e3f340b04 (patch)
tree83a7ec409a86546d7571417c113e74ccd3656885 /lib/Travelynx/Command/work.pm
parent6d3a0f864981c35f832f62374d25618f355220f1 (diff)
Traewelling: more consistent error messages
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");