Skip to content

Commit

Permalink
ammend
Browse files Browse the repository at this point in the history
  • Loading branch information
LKuemmel committed Dec 16, 2024
1 parent ac7017c commit 1a6af15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modules/internal_chargepoint_handler/pro_plus.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def store_state(chargepoint_state: ChargepointState) -> None:

try:
chargepoint_state = super().request_values()
except requests.exceptions.ConnectTimeout:
except (requests.exceptions.ConnectTimeout, requests.exceptions.ConnectionError):
raise Exception("Interner Ladepunkt ist nicht erreichbar.")

store_state(chargepoint_state)
Expand Down

0 comments on commit 1a6af15

Please sign in to comment.