missed await
This commit is contained in:
parent
c9d4f666c5
commit
75cf8dbfe4
@ -130,7 +130,7 @@ async def message_endpoint(
|
|||||||
await channel_manager.on_disconnect(ws)
|
await channel_manager.on_disconnect(ws)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
ws.close()
|
await ws.close()
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Failed to serve - {ws.client}")
|
logger.error(f"Failed to serve - {ws.client}")
|
||||||
|
Loading…
Reference in New Issue
Block a user