summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/pushinqueuehandler.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-24 22:03:01 -0500
committerEvan Prodromou <evan@status.net>2010-02-24 22:03:01 -0500
commit75cf4d4312f591d7a7c3d5d777f6bf5cb789dd56 (patch)
tree86875c50899e3643c86b869f4e8d932a5a67e242 /plugins/OStatus/lib/pushinqueuehandler.php
parent942521ef3058ee4416d737a144f7e48d9f0f342c (diff)
parent58e232a10ad45808caeb1bbd72641aea535e00e8 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/OStatus/lib/pushinqueuehandler.php')
-rw-r--r--plugins/OStatus/lib/pushinqueuehandler.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/pushinqueuehandler.php b/plugins/OStatus/lib/pushinqueuehandler.php
index a90f52df2..1fd29ae30 100644
--- a/plugins/OStatus/lib/pushinqueuehandler.php
+++ b/plugins/OStatus/lib/pushinqueuehandler.php
@@ -40,7 +40,11 @@ class PushInQueueHandler extends QueueHandler
$feedsub = FeedSub::staticGet('id', $feedsub_id);
if ($feedsub) {
- $feedsub->receive($post, $hmac);
+ try {
+ $feedsub->receive($post, $hmac);
+ } catch(Exception $e) {
+ common_log(LOG_ERR, "Exception during PuSH input processing for $feedsub->uri: " . $e->getMessage());
+ }
} else {
common_log(LOG_ERR, "Discarding POST to unknown feed subscription id $feedsub_id");
}