diff options
author | Brion Vibber <brion@pobox.com> | 2010-11-10 15:26:18 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-11-10 15:26:18 -0800 |
commit | fbd8052d05fda7a967d8440574d2b5013d4e7be1 (patch) | |
tree | 6d96e9a9ae16eedfd3d95cc8c7a80e5988a837b1 /lib | |
parent | 3afb031d9270a29db7f1ac4a964bb4b796759827 (diff) |
Add error logging for a couple send-fail cases in XMPP out
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xmppmanager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php index 7acd7663a..238696664 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; } } |