Skip to content

Commit 286ec2b

Browse files
committed
Changed exception to break instead of printing
1 parent 3080968 commit 286ec2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lf_toolkit/io/stream_io.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@ async def _handle_client(self, client: StreamIO):
101101
# print("Client disconnected")
102102
break
103103
except Exception as e:
104-
print(f"Exception: {e}")
104+
# print(f"Exception: {e}")
105+
break
105106
await client.close()

0 commit comments

Comments
 (0)