Merge remote-tracking branch 'origin/chat_and_cache' into websocket

This commit is contained in:
anovazzi1 2023-04-25 23:09:29 -03:00
commit e453a22361

View file

@ -167,6 +167,8 @@ class ChatManager:
except Exception as e:
# Handle any exceptions that might occur
print(f"Error: {e}")
# send a message to the client
await self.send_message(client_id, f"Error: {e}")
raise e
finally:
self.disconnect(client_id)