Change to exception instead of error
This commit is contained in:
1 parent
08da1e6f8d
commit
74b37bd61b
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user