Add error logging for a couple send-fail cases in XMPP out

This commit is contained in:
Brion Vibber 2010-11-10 15:26:18 -08:00
parent 3afb031d92
commit fbd8052d05

View File

@ -198,10 +198,12 @@ class XmppManager extends IoManager
$this->conn->processTime(0); $this->conn->processTime(0);
return true; return true;
} else { } else {
common_log(LOG_ERR, __METHOD__ . ' failed: 0 bytes sent');
return false; return false;
} }
} else { } else {
// Can't send right now... // Can't send right now...
common_log(LOG_ERR, __METHOD__ . ' failed: XMPP server connection currently down');
return false; return false;
} }
} }