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
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}