mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
Use _LOGGER.error instead of _LOGGER.exception
This commit is contained in:
parent
8371b08676
commit
bf2bcb6dcf
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user