mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Write to log if an event stream is closed
This commit is contained in:
parent
c8cbb8ebb5
commit
3ee2c6e210
@ -115,6 +115,8 @@ def _handle_get_api_stream(handler, path_match, data):
|
||||
|
||||
block.wait()
|
||||
|
||||
_LOGGER.info("Found broken event stream to %s, cleaning up",
|
||||
handler.client_address[0])
|
||||
hass.bus.remove_listener(MATCH_ALL, event_sourcer)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user