Skip to content

Commit 87c0cd7

Browse files
committed
Add change from Adafruit_CircuitPython_PyPortal/#97
1 parent a61933c commit 87c0cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_portalbase/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def get_local_time(self, location=None):
191191
"Error connection to Adafruit IO. The response was: "
192192
+ response.text
193193
)
194-
raise ValueError(error_message)
194+
raise RuntimeError(error_message)
195195
if self._debug:
196196
print("Time request: ", api_url)
197197
print("Time reply: ", response.text)

0 commit comments

Comments
 (0)