commit 47432b32c8aac09bbeae20a5d03f3eb2cbb83288
parent c8f19e1969e85033255c4250c3bffd4584df3edd
Author: Jimbo77 <onlineregular@gmail.com>
Date: Thu, 23 Aug 2012 17:44:37 -0700
Added more descriptive error if wallet cannot be loaded
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum b/electrum
@@ -178,8 +178,8 @@ if __name__ == '__main__':
found = wallet.file_exists
if not found:
found = gui.restore_or_create()
- except SystemExit, e:
- exit(e)
+ except IOError:
+ exit("Error retrieving wallet file.")
except BaseException, e:
import traceback
traceback.print_exc(file=sys.stdout)