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);
|
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user