Skip to content

Commit

Permalink
Merge pull request #27 from LyaaaaaGames/Develop
Browse files Browse the repository at this point in the history
Hotfix 1.3.1
  • Loading branch information
Lyaaaaaaaaaaaaaaa authored Oct 25, 2023
2 parents 98443ab + 6d24135 commit eea65f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
#-- - Fixed a syntax error in handler.
#-- - Updated handle_request to define parameters differently depending of
#-- the model type (generator or translator).
#--
#-- - 25/10/2023 Lyaaaaa
#-- - Fixed syntax error in handler. See https://github.com/LyaaaaaGames/AIdventure_Server/issues/25
#------------------------------------------------------------------------------

import asyncio
Expand Down Expand Up @@ -140,7 +143,7 @@ async def handler(p_websocket, path):
await p_websocket.send(data_to_send)

except websockets.exceptions.ConnectionClosed as e:
logger.info.error(e)
logger.log.error(e)
exit_code = 0
shutdown_server(exit_code)

Expand Down

0 comments on commit eea65f4

Please sign in to comment.