Change to exception instead of error

This commit is contained in:
Fabian Affolter 2015-11-26 23:57:57 +01:00
parent 08da1e6f8d
commit 74b37bd61b

View File

@ -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)