summaryrefslogtreecommitdiff
path: root/plugins/SubMirror
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SubMirror')
-rw-r--r--plugins/SubMirror/lib/mirrorqueuehandler.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/SubMirror/lib/mirrorqueuehandler.php b/plugins/SubMirror/lib/mirrorqueuehandler.php
index 92b36b5eb..c1a6f65e3 100644
--- a/plugins/SubMirror/lib/mirrorqueuehandler.php
+++ b/plugins/SubMirror/lib/mirrorqueuehandler.php
@@ -37,7 +37,13 @@ class MirrorQueueHandler extends QueueHandler
$mirror->subscribed = $notice->profile_id;
if ($mirror->find()) {
while ($mirror->fetch()) {
- $mirror->mirrorNotice($notice);
+ try {
+ $mirror->mirrorNotice($notice);
+ } catch (Exception $e) {
+ common_log(LOG_ERR, "Exception trying to mirror notice $notice->id " .
+ "for subscriber $mirror->subscriber ($mirror->style): " .
+ $e->getMessage());
+ }
}
}
return true;