Skip to content

Commit 557d7f8

Browse files
committed
Fix for API failure #28
1 parent d332142 commit 557d7f8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

custom_components/wemportal/wemportalapi.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,8 @@ def fetch_data(self):
131131

132132
# Get data using API
133133
if self.last_scraping_update is not None:
134-
try:
135-
self.get_data()
136-
except Exception as exc:
137-
_LOGGER.error(exc)
134+
self.get_data()
135+
138136

139137
# Return data
140138
return self.data

0 commit comments

Comments
 (0)