Skip to content

Commit

Permalink
Add timeout error
Browse files Browse the repository at this point in the history
  • Loading branch information
Santobert committed Oct 19, 2020
1 parent c25eafb commit ba0cfb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pybotvac/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def get_map_image(url, dest_path=None, file_name=None):
except (
requests.exceptions.ConnectionError,
requests.exceptions.HTTPError,
requests.exceptions.Timeout,
) as ex:
raise NeatoRobotException("Unable to get robot map") from ex

Expand Down

0 comments on commit ba0cfb2

Please sign in to comment.