We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe45e0b commit cd78ab4Copy full SHA for cd78ab4
slack_sdk/socket_mode/websocket_client/__init__.py
@@ -244,6 +244,9 @@ def _run_current_session(self):
244
self.logger.info("Stopped receiving messages from a connection")
245
except Exception as e:
246
self.logger.exception(f"Failed to start or stop the current session: {e}")
247
+ # To let the monitoring job detect the connection issue, closing this session
248
+ if self.current_session is not None:
249
+ self.current_session.close()
250
251
def _monitor_current_session(self):
252
if self.current_app_monitor_started:
0 commit comments