Use _LOGGER.error instead of _LOGGER.exception

pull/606/head
Fabian Affolter 2015-11-10 18:20:10 +01:00
parent 8371b08676
commit bf2bcb6dcf
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def get_service(hass, config):
_LOGGER.error("Please check your access token")
return None
except exceptions.ChannelNotFoundError:
_LOGGER.exception("Channel '%s' not found", config['channel_name'])
_LOGGER.error("Channel '%s' not found", config['channel_name'])
return None
return PushettaNotificationService(config[CONF_API_KEY],