diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-04 20:56:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-04 20:56:02 -0400 |
commit | f6b9662783f522a00c387ccad5790cfce5bf31e1 (patch) | |
tree | 6a51e643e4fce6c5f0073be7d6f2986624d2ebd5 /lib/util.php | |
parent | 25e93288ba63dd65285dab68935b05b4e077aff5 (diff) |
error notices
darcs-hash:20080705005602-84dde-3c99dbed5e431a9d4f1de124454296d4709eb115.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 6aff62786..38e24bb25 100644 --- a/lib/util.php +++ b/lib/util.php @@ -839,10 +839,16 @@ function common_real_broadcast($notice, $remote=false) { # Make sure we have the OMB stuff require_once(INSTALLDIR.'/lib/omb.php'); $success = omb_broadcast_remote_subscribers($notice); + if (!$success) { + common_log(LOG_ERROR, 'Error in OMB broadcast for notice ' . $notice->id); + } } if ($success) { require_once(INSTALLDIR.'/lib/jabber.php'); $success = jabber_broadcast_notice($notice); + if (!$success) { + common_log(LOG_ERROR, 'Error in jabber broadcast for notice ' . $notice->id); + } } // XXX: broadcast notices to SMS // XXX: broadcast notices to other IM |