Unverified Commit 8f906da9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

traewelling: log an error if pull sync fails

parent faf8952b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;