mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 07:42:06 +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();
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue