diff options
author | Evan Prodromou <evan@status.net> | 2010-02-26 11:40:12 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-26 11:40:12 -0500 |
commit | d9d1a77bb02227e6e79392959643404391df2ea0 (patch) | |
tree | 87ce0a41e5fed266f46af31469bdddf9c0fa3833 /lib/profilequeuehandler.php | |
parent | 417f5d653fb2053cd6194900eba591d42ebfcb0d (diff) | |
parent | ab8bb4d79e5f267323440b8cee01458b393ce2d1 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/profilequeuehandler.php')
-rw-r--r-- | lib/profilequeuehandler.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/profilequeuehandler.php b/lib/profilequeuehandler.php index e8a00aef3..6ce93229b 100644 --- a/lib/profilequeuehandler.php +++ b/lib/profilequeuehandler.php @@ -39,7 +39,11 @@ class ProfileQueueHandler extends QueueHandler if (Event::handle('StartBroadcastProfile', array($profile))) { require_once(INSTALLDIR.'/lib/omb.php'); - omb_broadcast_profile($profile); + try { + omb_broadcast_profile($profile); + } catch (Exception $e) { + common_log(LOG_ERR, "Failed sending OMB profiles: " . $e->getMessage()); + } } Event::handle('EndBroadcastProfile', array($profile)); return true; |