Skip to content

Commit 84cec8e

Browse files
committed
Return when we have an exception
* custom_components/daikin_residential_altherma/daikin_api.py:
1 parent 8b96fe8 commit 84cec8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/daikin_residential_altherma/daikin_api.py

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async def doBearerRequest(self, resourceUrl, options=None, refreshed=False):
8686
res = await self.hass.async_add_executor_job(func)
8787
except Exception as e:
8888
_LOGGER.error("REQUEST FAILED: %s", e)
89+
return str(e)
8990
_LOGGER.debug("BEARER RESPONSE CODE: %s", res.status_code)
9091

9192
if res.status_code == 200:

0 commit comments

Comments
 (0)