Skip to content

Commit e78bf56

Browse files
committed
version 3.27.1
1 parent cd78ab4 commit e78bf56

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

docs/api-docs/slack_sdk/socket_mode/websocket_client/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ <h1 class="title">Module <code>slack_sdk.socket_mode.websocket_client</code></h1
278278
self.logger.info(&#34;Stopped receiving messages from a connection&#34;)
279279
except Exception as e:
280280
self.logger.exception(f&#34;Failed to start or stop the current session: {e}&#34;)
281+
# To let the monitoring job detect the connection issue, closing this session
282+
if self.current_session is not None:
283+
self.current_session.close()
281284

282285
def _monitor_current_session(self):
283286
if self.current_app_monitor_started:
@@ -560,6 +563,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
560563
self.logger.info(&#34;Stopped receiving messages from a connection&#34;)
561564
except Exception as e:
562565
self.logger.exception(f&#34;Failed to start or stop the current session: {e}&#34;)
566+
# To let the monitoring job detect the connection issue, closing this session
567+
if self.current_session is not None:
568+
self.current_session.close()
563569

564570
def _monitor_current_session(self):
565571
if self.current_app_monitor_started:

docs/api-docs/slack_sdk/version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_sdk.version</code></h1>
2828
<span>Expand source code</span>
2929
</summary>
3030
<pre><code class="python">&#34;&#34;&#34;Check the latest version at https://pypi.org/project/slack-sdk/&#34;&#34;&#34;
31-
__version__ = &#34;3.27.0&#34;</code></pre>
31+
__version__ = &#34;3.27.1&#34;</code></pre>
3232
</details>
3333
</section>
3434
<section>

slack_sdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
2-
__version__ = "3.27.0"
2+
__version__ = "3.27.1"

0 commit comments

Comments
 (0)