Skip to content

Commit 349d934

Browse files
committed
Follow @coderabbitai suggestion without tripping G004
1 parent 18b1198 commit 349d934

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/stromer/stromer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ async def stromer_detect(self) -> dict:
7171
except Exception as e:
7272
log = f"Stromer unable to fetch full data: {e}"
7373
LOGGER.error(log)
74+
raise ApiError from e
7475

7576
log = f"Stromer full_data : {self.full_data}"
7677
LOGGER.debug(log)

0 commit comments

Comments
 (0)