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

View File

@ -1206,7 +1206,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
}
}
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) {
try {