Skip to content

Commit 93ab162

Browse files
allenporterCopilot
andauthored
chore: style cleanup re-raising a bare exception
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 265691e commit 93ab162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/devices/device_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def discover_devices(self, prefer_cache: bool = True) -> list[RoborockDevi
7878
cache_data.home_data = await self._web_api.get_home_data()
7979
except RoborockException as ex:
8080
if not cache_data.home_data:
81-
raise ex
81+
raise
8282
_LOGGER.debug("Failed to fetch home data, using cached data: %s", ex)
8383
await self._cache.set(cache_data)
8484
home_data = cache_data.home_data

0 commit comments

Comments
 (0)