From: Brion Vibber Date: Wed, 10 Nov 2010 23:26:18 +0000 (-0800) Subject: Add error logging for a couple send-fail cases in XMPP out X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbd8052d05fda7a967d8440574d2b5013d4e7be1;p=quix0rs-gnu-social.git Add error logging for a couple send-fail cases in XMPP out --- diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php index 7acd7663a2..238696664a 100644 --- a/lib/xmppmanager.php +++ b/lib/xmppmanager.php @@ -198,10 +198,12 @@ class XmppManager extends IoManager $this->conn->processTime(0); return true; } else { + common_log(LOG_ERR, __METHOD__ . ' failed: 0 bytes sent'); return false; } } else { // Can't send right now... + common_log(LOG_ERR, __METHOD__ . ' failed: XMPP server connection currently down'); return false; } }