Skip to content

Commit

Permalink
Log error reason (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasddn committed Jan 20, 2025
1 parent 50ec07f commit 1d1585f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/volvo_cars/volvo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ async def _async_request(
raise VolvoApiException(ex.message) from redacted_exception

except (ClientError, TimeoutError) as ex:
_LOGGER.debug("Request [%s] error: %s", operation, ex)
_LOGGER.debug("Request [%s] error: %s", operation, ex.__class__.__name__)
raise VolvoApiException(ex.__class__.__name__) from ex


Expand Down

0 comments on commit 1d1585f

Please sign in to comment.