X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fprofilequeuehandler.php;h=6ce93229b249abe5d31ea5d839b60e3f87e85951;hb=f1bfbece06d7db20fa144fe5ac8a2f6c589eff45;hp=e8a00aef307bfb4aa7e92fb945a9c963f7366e9e;hpb=01cfe86cd27eb302a69c5d6df8eddc4893b774c3;p=quix0rs-gnu-social.git diff --git a/lib/profilequeuehandler.php b/lib/profilequeuehandler.php index e8a00aef30..6ce93229b2 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;