mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 11:45:09 +02:00
* Fix #14919. Should throw exception when camera stream closed by frontend * Re-trigger CI * pythonic re-raise
This commit is contained in:
committed by
Paulus Schoutsen
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:
|
||||
|
Reference in New Issue
Block a user