Skip to content

Commit

Permalink
CID-2939: addressing PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Sep 6, 2024
1 parent e20ae21 commit 1864dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class BrokerStompSessionHandler : StompSessionHandlerAdapter() {
}

override fun handleTransportError(session: StompSession, exception: Throwable) {
logger.error("Connection error")
logger.error("Connection error: ${exception.message}")
if (isConnected) {
logger.error("Session closed. This could be due to a network error or the server closing the connection.")
isConnected = false
Expand Down

0 comments on commit 1864dc4

Please sign in to comment.