summaryrefslogtreecommitdiffstats
path: root/lib/Cron
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-12-29 13:07:57 -0100
committerMaxence Lange <maxence@artificial-owl.com>2018-12-29 13:07:57 -0100
commited98204d47421587300a6c576df5edb4cdf9e2c3 (patch)
tree4c8913b406c096411ed0a7ba061e114652a03e91 /lib/Cron
parent1a7b1c854962afbf62abd75c2830d5da4f422667 (diff)
rewrite of the exceptions while requesting remote instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Cron')
-rw-r--r--lib/Cron/Queue.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Cron/Queue.php b/lib/Cron/Queue.php
index a2315504..21f15fdb 100644
--- a/lib/Cron/Queue.php
+++ b/lib/Cron/Queue.php
@@ -33,7 +33,6 @@ namespace OCA\Social\Cron;
use OC\BackgroundJob\TimedJob;
use OCA\Social\AppInfo\Application;
-use OCA\Social\Exceptions\RequestException;
use OCA\Social\Exceptions\SocialAppConfigException;
use OCA\Social\Service\ActivityService;
use OCA\Social\Service\MiscService;
@@ -94,7 +93,6 @@ class Queue extends TimedJob {
$request->setTimeout(ActivityService::TIMEOUT_SERVICE);
try {
$this->activityService->manageRequest($request);
- } catch (RequestException $e) {
} catch (SocialAppConfigException $e) {
}
}