From 1864dc4b37960fe0b8993e4da98615c2cee68157 Mon Sep 17 00:00:00 2001 From: mohamedlajmileanix Date: Fri, 6 Sep 2024 11:30:32 +0200 Subject: [PATCH] CID-2939: addressing PR comment --- .../net/leanix/githubagent/handler/BrokerStompSessionHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/net/leanix/githubagent/handler/BrokerStompSessionHandler.kt b/src/main/kotlin/net/leanix/githubagent/handler/BrokerStompSessionHandler.kt index ba31c51..37118f1 100644 --- a/src/main/kotlin/net/leanix/githubagent/handler/BrokerStompSessionHandler.kt +++ b/src/main/kotlin/net/leanix/githubagent/handler/BrokerStompSessionHandler.kt @@ -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