summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r--lib/Travelynx/Command/work.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index a1fb485..3f8bcd3 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -292,6 +292,12 @@ sub run {
)->catch(
sub {
my ($err) = @_;
+ $self->app->traewelling->log(
+ uid => $account_data->{user_id},
+ message =>
+ "Fehler bei der Status-Abfrage von Träwelling: $err",
+ is_error => 1
+ );
$self->app->log->debug("Error $err");
}
)->wait;