Added more descriptive error if wallet cannot be loaded
This commit is contained in:
4
electrum
4
electrum
@@ -178,8 +178,8 @@ if __name__ == '__main__':
|
|||||||
found = wallet.file_exists
|
found = wallet.file_exists
|
||||||
if not found:
|
if not found:
|
||||||
found = gui.restore_or_create()
|
found = gui.restore_or_create()
|
||||||
except SystemExit, e:
|
except IOError:
|
||||||
exit(e)
|
exit("Error retrieving wallet file.")
|
||||||
except BaseException, e:
|
except BaseException, e:
|
||||||
import traceback
|
import traceback
|
||||||
traceback.print_exc(file=sys.stdout)
|
traceback.print_exc(file=sys.stdout)
|
||||||
|
|||||||
Reference in New Issue
Block a user