Add error logging for a couple send-fail cases in XMPP out
This commit is contained in:
parent
3afb031d92
commit
fbd8052d05
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user