summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-02-16 20:39:00 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-02-16 20:39:00 +0100
commit8f906da9c29fdb63699fbfa4e82deba560b62ca4 (patch)
tree4a6625060e977128d2230049832fbe81b9b4e585 /lib/Travelynx
parentfaf8952b8732d6314e3d3429f5cc761564565e44 (diff)
traewelling: log an error if pull sync fails
Diffstat (limited to 'lib/Travelynx')
-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;