Browse Source

A failing federation sync job is not an error

This is an INFO warning at best. Else it spams the logs continiously.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/10558/head
Roeland Jago Douma 8 years ago
parent
commit
dd5862e270
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 2
      apps/federation/lib/SyncJob.php

2
apps/federation/lib/SyncJob.php

@ -50,7 +50,7 @@ class SyncJob extends TimedJob {
if ($ex instanceof \Exception) {
$this->logger->logException($ex, [
'message' => "Error while syncing $url.",
'level' => ILogger::ERROR,
'level' => ILogger::INFO,
'app' => 'fed-sync',
]);
}

Loading…
Cancel
Save