Added more descriptive error if wallet cannot be loaded

This commit is contained in:
Jimbo77 2012-08-23 17:44:37 -07:00
parent c8f19e1969
commit 47432b32c8
1 changed files with 2 additions and 2 deletions

View File

@ -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)