Skip to content

Commit

Permalink
Clarify tahoma errrors (#12307)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakedraccoon authored and fabaff committed Feb 11, 2018
1 parent 767d3c6 commit 47bfef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/tahoma.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ def setup(hass, config):
try:
api = TahomaApi(username, password)
except RequestException:
_LOGGER.exception("Error communicating with Tahoma API")
_LOGGER.exception("Error when trying to log in to the Tahoma API")
return False

try:
api.get_setup()
devices = api.get_devices()
except RequestException:
_LOGGER.exception("Cannot fetch information from Tahoma API")
_LOGGER.exception("Error when getting devices from the Tahoma API")
return False

hass.data[DOMAIN] = {
Expand Down

0 comments on commit 47bfef9

Please sign in to comment.