Skip to content

Commit

Permalink
replace log
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Sep 8, 2024
1 parent 818b931 commit f7f7fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/server/session/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ async def loop_recv(self):
continue
await self.dispatch(data)
except WebSocketDisconnect:
await self.close()
logger.info('WebSocket disconnected, sid: %s', self.sid)
await self.close()
except RuntimeError as e:
await self.close()
logger.exception('Error in loop_recv: %s', e)
Expand Down

0 comments on commit f7f7fc5

Please sign in to comment.