mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Catch ConnectionResetError (#60987)
This commit is contained in:
@@ -255,3 +255,5 @@ async def _websocket_forward(ws_from, ws_to):
|
|||||||
await ws_to.close(code=ws_to.close_code, message=msg.extra)
|
await ws_to.close(code=ws_to.close_code, message=msg.extra)
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
_LOGGER.debug("Ingress Websocket runtime error")
|
_LOGGER.debug("Ingress Websocket runtime error")
|
||||||
|
except ConnectionResetError:
|
||||||
|
_LOGGER.debug("Ingress Websocket Connection Reset")
|
||||||
|
Reference in New Issue
Block a user