Skip to content

Commit 8a50f10

Browse files
committed
fix infinite looping when socket goes stale in gevent
1 parent 7e3ab80 commit 8a50f10

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

slack_sdk/socket_mode/builtin/internals.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ def receive(specific_buffer_size: Optional[int] = None):
216216
# Note that bad connections can be detected by monitoring threads
217217
# the Socket Mode client automatically reconnects to a new endpoint later.
218218
logger.debug("The connection seems to be already closed.")
219-
return bytes()
220219
raise e
221220

222221
return _fetch_messages(

0 commit comments

Comments
 (0)