mirror of
https://github.com/weewx/weewx.git
synced 2026-04-17 16:16:56 -04:00
Fixed problem with handling CWOP connection errors.
This commit is contained in:
@@ -1281,8 +1281,7 @@ class CWOPThread(RESTThread):
|
||||
# Unsuccessful. Close it in case it was open:
|
||||
try:
|
||||
_sock.close()
|
||||
except AttributeError as xxx_todo_changeme:
|
||||
socket.error = xxx_todo_changeme
|
||||
except (AttributeError, socket.error):
|
||||
pass
|
||||
raise ConnectError(e)
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@ record interval is zero. Fixes issue #375.
|
||||
Posts to the Weather Underground now use https, instead of http.
|
||||
Thanks to user mljenkins! PR #378.
|
||||
|
||||
Fixed problem with handling CWOP connection errors.
|
||||
|
||||
|
||||
3.9.1 02/06/2019
|
||||
|
||||
|
||||
Reference in New Issue
Block a user