Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@ public void handleException(StompSession session, @Nullable StompCommand command
public void handleTransportError(StompSession session, Throwable exception) {
if (exception instanceof ConnectionLostException) {
logger.log(Level.WARNING, "Connection lost, will attempt to reconnect", exception);
if (disconnectCallback != null) {
disconnectCallback.run();
}
connect();
} else {
logger.log(Level.WARNING, "Handling transport exception", exception);
}
if (disconnectCallback != null) {
disconnectCallback.run();
logger.log(Level.WARNING, "Got transport exception", exception);
}
}
}
Expand Down
Loading