mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Catch ConnectionResetError (#60987)
This commit is contained in:
parent
dc5377485b
commit
95f0098593
@ -255,3 +255,5 @@ async def _websocket_forward(ws_from, ws_to):
|
||||
await ws_to.close(code=ws_to.close_code, message=msg.extra)
|
||||
except RuntimeError:
|
||||
_LOGGER.debug("Ingress Websocket runtime error")
|
||||
except ConnectionResetError:
|
||||
_LOGGER.debug("Ingress Websocket Connection Reset")
|
||||
|
Loading…
x
Reference in New Issue
Block a user