Merge branch 'master' into 0.9.x

This commit is contained in:
Brion Vibber
2010-09-21 12:48:16 -07:00
15 changed files with 384 additions and 20 deletions

View File

@@ -36,7 +36,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;