diff --git a/custom_components/weenect/__init__.py b/custom_components/weenect/__init__.py index a076b39..a2c8b46 100644 --- a/custom_components/weenect/__init__.py +++ b/custom_components/weenect/__init__.py @@ -93,7 +93,7 @@ async def _async_update_data(self): self._detect_added_and_removed_trackers(data) return data except Exception as exception: - raise UpdateFailed() from exception + raise UpdateFailed(exception) from exception def _detect_added_and_removed_trackers(self, data: Any): """Detect if trackers were added or removed."""