moritzwiechers / audi_connect_ha_q4

Adds an audi connect integration to home assistant
MIT License
12 stars 2 forks source link

Pass more details into logger for error #2

Closed N3rdix closed 8 months ago

N3rdix commented 9 months ago

This PR should optimize error output, not very important for the end user but it doesn't harm in future to have the callstack in the logger as well.

This extends for example errors like this where it is not clear where the error is coming from: 2023-12-22 14:06:12.582 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Unable to obtain the vehicle status report of WAUZZZFZ9NP015583: 'charging'