Skip to content

Commit

Permalink
Improve Risco exception logging (#115232)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnFreund authored Apr 10, 2024
1 parent 220801b commit 6394e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/risco/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def _async_setup_local_entry(hass: HomeAssistant, entry: ConfigEntry) -> b
return False

async def _error(error: Exception) -> None:
_LOGGER.error("Error in Risco library: %s", error)
_LOGGER.error("Error in Risco library", exc_info=error)

entry.async_on_unload(risco.add_error_handler(_error))

Expand Down

0 comments on commit 6394e25

Please sign in to comment.