diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-08 11:48:09 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-08 11:48:09 -0700 |
commit | c758b2b0005cd434ff679686b6e11df60a65e1cb (patch) | |
tree | 2c7fba4a9dcbc67c25ada93697ec67381808c7cd /plugins | |
parent | f2574fdd0122d484724dda7efdfbb8cb1a668939 (diff) | |
parent | 7407754c2714248eebc995412a3aee881df2a238 (diff) |
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/RSSCloud/RSSCloudQueueHandler.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/RSSCloud/RSSCloudQueueHandler.php b/plugins/RSSCloud/RSSCloudQueueHandler.php index 295c26189..ef11eda2e 100644 --- a/plugins/RSSCloud/RSSCloudQueueHandler.php +++ b/plugins/RSSCloud/RSSCloudQueueHandler.php @@ -28,7 +28,12 @@ class RSSCloudQueueHandler extends QueueHandler function handle($notice) { - $profile = $notice->getProfile(); + try { + $profile = $notice->getProfile(); + } catch (Exception $e) { + common_log(LOG_ERR, "Dropping RSSCloud item for notice with bogus profile: " . $e->getMessage()); + return true; + } $notifier = new RSSCloudNotifier(); return $notifier->notify($profile); } |