mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-25 13:57:58 +01:00
Improve logging wrt XMPPTCPConnection.shutdownDone
This commit is contained in:
parent
404b90054b
commit
4b7a396b9b
1 changed files with 2 additions and 1 deletions
|
@ -1260,7 +1260,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
shutdownDone.checkIfSuccessOrWait();
|
||||
}
|
||||
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);
|
||||
}
|
||||
} finally {
|
||||
LOGGER.fine("Reporting shutdownDone success in writer thread");
|
||||
shutdownDone.reportSuccess();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue