mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
* Fix #14919. Should throw exception when camera stream closed by frontend * Re-trigger CI * pythonic re-raise
This commit is contained in:
parent
dbae410cf4
commit
508d0459a7
@ -322,6 +322,7 @@ class Camera(Entity):
|
||||
except asyncio.CancelledError:
|
||||
_LOGGER.debug("Stream closed by frontend.")
|
||||
response = None
|
||||
raise
|
||||
|
||||
finally:
|
||||
if response is not None:
|
||||
|
@ -233,6 +233,7 @@ class ProxyCamera(Camera):
|
||||
_LOGGER.debug("Stream closed by frontend.")
|
||||
req.close()
|
||||
response = None
|
||||
raise
|
||||
|
||||
finally:
|
||||
if response is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user