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 411d107 commit a6aac5dCopy full SHA for a6aac5d
slack_sdk/socket_mode/builtin/internals.py
@@ -204,8 +204,6 @@ def receive(specific_buffer_size: Optional[int] = None):
204
size = specific_buffer_size if specific_buffer_size is not None else receive_buffer_size
205
with sock_receive_lock:
206
received_bytes = sock.recv(size)
207
- if not received_bytes:
208
- raise ConnectionError("Connection is closed")
209
if all_message_trace_enabled:
210
logger.debug(f"Received bytes: {received_bytes}")
211
return received_bytes
0 commit comments