mirror of
https://github.com/home-assistant/core
synced 2024-07-27 18:58:57 +02:00
parent
7e862e4d92
commit
a9db2ead33
@ -120,6 +120,6 @@ class IssData:
|
||||
self.next_rise = iss.next_rise(self.latitude, self.longitude)
|
||||
self.number_of_people_in_space = iss.number_of_people_in_space()
|
||||
self.position = iss.current_location()
|
||||
except requests.exceptions.HTTPError as error:
|
||||
_LOGGER.error(error)
|
||||
except (requests.exceptions.HTTPError, requests.exceptions.ConnectionError):
|
||||
_LOGGER.error("Unable to retrieve data")
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user