diff --git a/docs/api-docs/slack_sdk/socket_mode/websocket_client/index.html b/docs/api-docs/slack_sdk/socket_mode/websocket_client/index.html
index f0181062..fecef3d9 100644
--- a/docs/api-docs/slack_sdk/socket_mode/websocket_client/index.html
+++ b/docs/api-docs/slack_sdk/socket_mode/websocket_client/index.html
@@ -278,6 +278,9 @@
Module slack_sdk.socket_mode.websocket_client
Classes
self.logger.info("Stopped receiving messages from a connection")
except Exception as e:
self.logger.exception(f"Failed to start or stop the current session: {e}")
+ # To let the monitoring job detect the connection issue, closing this session
+ if self.current_session is not None:
+ self.current_session.close()
def _monitor_current_session(self):
if self.current_app_monitor_started:
diff --git a/docs/api-docs/slack_sdk/version.html b/docs/api-docs/slack_sdk/version.html
index 75ae6d42..d8795d7c 100644
--- a/docs/api-docs/slack_sdk/version.html
+++ b/docs/api-docs/slack_sdk/version.html
@@ -28,7 +28,7 @@ Module slack_sdk.version
Expand source code
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
-__version__ = "3.27.0"
+__version__ = "3.27.1"
diff --git a/slack_sdk/version.py b/slack_sdk/version.py
index 8f4485f1..28d6a369 100644
--- a/slack_sdk/version.py
+++ b/slack_sdk/version.py
@@ -1,2 +1,2 @@
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
-__version__ = "3.27.0"
+__version__ = "3.27.1"