mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +01:00
Log connectionClosedOnError exceptions
This commit is contained in:
parent
790ebeca33
commit
86ad192bea
1 changed files with 1 additions and 0 deletions
|
@ -1017,6 +1017,7 @@ public abstract class XMPPConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
void callConnectionClosedOnErrorListener(Exception e) {
|
void callConnectionClosedOnErrorListener(Exception e) {
|
||||||
|
LOGGER.log(Level.WARNING, "Connection closed with error", e);
|
||||||
for (ConnectionListener listener : getConnectionListeners()) {
|
for (ConnectionListener listener : getConnectionListeners()) {
|
||||||
try {
|
try {
|
||||||
listener.connectionClosedOnError(e);
|
listener.connectionClosedOnError(e);
|
||||||
|
|
Loading…
Reference in a new issue