Closed eldigo closed 7 years ago
Hi, I saw URLError's when my internetconnect was down, You might want to catch the URLError
in the buienradar.py currently: except urllib.error.HTTPError as e:
except urllib.error.HTTPError as e:
new: except (urllib.error.HTTPError, urllib.error.URLError) as e:
except (urllib.error.HTTPError, urllib.error.URLError) as e:
Good point
Hi, I saw URLError's when my internetconnect was down,
You might want to catch the URLError
in the buienradar.py currently:
except urllib.error.HTTPError as e:
new:
except (urllib.error.HTTPError, urllib.error.URLError) as e: