Skip to content

Commit 03a3ffa

Browse files
committed
Add logging if failing to sync camera state
1 parent ba824b0 commit 03a3ffa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/dahua/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ async def _async_update_data(self):
219219

220220
return data
221221
except Exception as exception:
222+
_LOGGER.warn("Failed to sync device state", exc_info=exception)
222223
raise UpdateFailed() from exception
223224

224225
def on_receive_vto_event(self, event: dict):

0 commit comments

Comments
 (0)