1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 00:02:06 +01:00

More information in closed on error log

This commit is contained in:
Florian Schmaus 2015-06-09 22:25:19 +02:00
parent ffea35282c
commit 13224a9662

View file

@ -1206,7 +1206,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
} }
} }
if (logWarning) { if (logWarning) {
LOGGER.log(Level.WARNING, "Connection closed with error", e); LOGGER.log(Level.WARNING, "Connection " + this + " closed with error", e);
} }
for (ConnectionListener listener : connectionListeners) { for (ConnectionListener listener : connectionListeners) {
try { try {