aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/backgroundjob/getsharedsecret.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/backgroundjob/getsharedsecret.php')
-rw-r--r--apps/federation/backgroundjob/getsharedsecret.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/federation/backgroundjob/getsharedsecret.php b/apps/federation/backgroundjob/getsharedsecret.php
index cae446f915c..a98a17e323b 100644
--- a/apps/federation/backgroundjob/getsharedsecret.php
+++ b/apps/federation/backgroundjob/getsharedsecret.php
@@ -151,6 +151,9 @@ class GetSharedSecret extends QueuedJob{
} catch (ClientException $e) {
$status = $e->getCode();
$this->logger->logException($e);
+ } catch (\Exception $e) {
+ $status = HTTP::STATUS_INTERNAL_SERVER_ERROR;
+ $this->logger->logException($e);
}
// if we received a unexpected response we try again later