try/catch on omb profile pings
This commit is contained in:
parent
417f5d653f
commit
08c17bfcaa
@ -39,7 +39,11 @@ class ProfileQueueHandler extends QueueHandler
|
||||
|
||||
if (Event::handle('StartBroadcastProfile', array($profile))) {
|
||||
require_once(INSTALLDIR.'/lib/omb.php');
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user