mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Bugfix stack trace from api (#5332)
This commit is contained in:
parent
c458ee29f2
commit
d7d428119b
@ -133,6 +133,9 @@ class APIEventStream(HomeAssistantView):
|
|||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
yield from to_write.put(STREAM_PING_PAYLOAD)
|
yield from to_write.put(STREAM_PING_PAYLOAD)
|
||||||
|
|
||||||
|
except asyncio.CancelledError:
|
||||||
|
_LOGGER.debug('STREAM %s ABORT', id(stop_obj))
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
_LOGGER.debug('STREAM %s RESPONSE CLOSED', id(stop_obj))
|
_LOGGER.debug('STREAM %s RESPONSE CLOSED', id(stop_obj))
|
||||||
unsub_stream()
|
unsub_stream()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user