mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add camera name to logs (#21653)
This commit is contained in:
parent
8213016eaf
commit
5375510535
@ -128,7 +128,7 @@ class GenericCamera(Camera):
|
||||
url, auth=self._auth)
|
||||
self._last_image = await response.read()
|
||||
except asyncio.TimeoutError:
|
||||
_LOGGER.error("Timeout getting camera image")
|
||||
_LOGGER.error("Timeout getting image from: %s", self._name)
|
||||
return self._last_image
|
||||
except aiohttp.ClientError as err:
|
||||
_LOGGER.error("Error getting new camera image: %s", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user