Skip to content

Commit

Permalink
chore(updater): add exception to log message
Browse files Browse the repository at this point in the history
  • Loading branch information
IATkachenko committed Aug 22, 2022
1 parent fa22e6c commit 7ed1ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ha_tion_btle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def async_update_state(self):
self.update_interval = self._delay
raise UpdateFailed("MaxTriesExceededError")
except Exception as e:
_LOGGER.critical(f"{response=}")
_LOGGER.critical(f"{response=}, {e=}")
raise e

response["is_on"]: bool = self._decode_state(response["state"])
Expand Down

0 comments on commit 7ed1ac0

Please sign in to comment.