mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Change to exception instead of error
This commit is contained in:
parent
08da1e6f8d
commit
74b37bd61b
@ -113,7 +113,7 @@ def setup(hass, config):
|
||||
try:
|
||||
influx.write_points(json_body)
|
||||
except exceptions.InfluxDBClientError:
|
||||
_LOGGER.error("Field type conflict")
|
||||
_LOGGER.exception('Error saving event to Influx')
|
||||
|
||||
hass.bus.listen(EVENT_STATE_CHANGED, event_listener)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user