1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-20 17:47:57 +01:00

Improve logging wrt XMPPTCPConnection.shutdownDone

This commit is contained in:
Florian Schmaus 2015-02-26 08:27:19 +01:00
parent 404b90054b
commit 4b7a396b9b

View file

@ -1260,7 +1260,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
shutdownDone.checkIfSuccessOrWait(); shutdownDone.checkIfSuccessOrWait();
} }
catch (NoResponseException e) { catch (NoResponseException e) {
LOGGER.log(Level.WARNING, "NoResponseException", e); LOGGER.log(Level.WARNING, "shutdownDone was not marked as successful by the writer thread", e);
} }
} }
@ -1406,6 +1406,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
LOGGER.log(Level.FINE, "Ignoring Exception in writePackets()", e); LOGGER.log(Level.FINE, "Ignoring Exception in writePackets()", e);
} }
} finally { } finally {
LOGGER.fine("Reporting shutdownDone success in writer thread");
shutdownDone.reportSuccess(); shutdownDone.reportSuccess();
} }
} }