Identify cameras in error logs for generic and mjpeg cameras (#33561)
This commit is contained in:
1 parent
ae22b5187a
commit
d1c1aa518d
2 files changed
+9
-5
No files matched your search
@@ -122,10 +122,10 @@ class MjpegCamera(Camera):
|
||||
return image
|
||||
|
||||
except asyncio.TimeoutError:
|
||||
_LOGGER.error("Timeout getting camera image")
|
||||
_LOGGER.error("Timeout getting camera image from %s", self._name)
|
||||
|
||||
except aiohttp.ClientError as err:
|
||||
_LOGGER.error("Error getting new camera image: %s", err)
|
||||
_LOGGER.error("Error getting new camera image from %s: %s", self._name, err)
|
||||
|
||||
def camera_image(self):
|
||||
"""Return a still image response from the camera."""
|
||||
|
||||
Reference in new issue
Block a user