Fix recv of websocket wrapper
All checks were successful
ci/woodpecker/push/docker Pipeline was successful

This commit is contained in:
Oliver Traber 2024-04-20 17:28:43 +02:00
parent c39f39c989
commit fda92b723b

View file

@ -13,7 +13,7 @@ class WebSocketWrapper():
try:
text = await self._websocket.receive_text()
logger.info("Message received: {}", text)
return await self._websocket.receive_text()
return text
except WebSocketDisconnect as e:
raise ConnectionClosed(e.code, 'WebSocketWrapper')