tversion_getter: catch all exceptions - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit bcde4163314f3b3577f3c61300819ed927b21591
DIR parent 060e3aa23e6affc5441b6173b17b7aa76e7fa964
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Jun 2015 17:50:02 +0200
version_getter: catch all exceptions
Diffstat:
M gui/qt/version_getter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/version_getter.py b/gui/qt/version_getter.py
t@@ -37,7 +37,7 @@ class VersionGetter(threading.Thread):
def run(self):
try:
res = requests.request("GET", "https://electrum.org/version")
- except socket.error as msg:
+ except:
print_error("Could not retrieve version information")
return