1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-13 15:14:54 +02:00

Log connectionClosedOnError exceptions

This commit is contained in:
Florian Schmaus 2014-04-26 19:42:26 +02:00
parent 790ebeca33
commit 86ad192bea

View file

@ -1017,6 +1017,7 @@ public abstract class XMPPConnection {
}
void callConnectionClosedOnErrorListener(Exception e) {
LOGGER.log(Level.WARNING, "Connection closed with error", e);
for (ConnectionListener listener : getConnectionListeners()) {
try {
listener.connectionClosedOnError(e);