version_getter: catch all exceptions
This commit is contained in:
parent
060e3aa23e
commit
bcde416331
|
@ -37,7 +37,7 @@ class VersionGetter(threading.Thread):
|
||||||
def run(self):
|
def run(self):
|
||||||
try:
|
try:
|
||||||
res = requests.request("GET", "https://electrum.org/version")
|
res = requests.request("GET", "https://electrum.org/version")
|
||||||
except socket.error as msg:
|
except:
|
||||||
print_error("Could not retrieve version information")
|
print_error("Could not retrieve version information")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue