1
0

add InvalidPassword exception

This commit is contained in:
ThomasV
2014-12-03 22:35:05 +01:00
parent 0e3500469e
commit 63c7a27d7e
8 changed files with 31 additions and 21 deletions

View File

@@ -157,8 +157,8 @@ class PasswordDialog(QDialog):
try:
self.wallet.check_password(password)
except Exception:
QMessageBox.warning(self.parent, _('Error'), _('Incorrect Password'), _('OK'))
except BaseException as e:
QMessageBox.warning(self.parent, _('Error'), str(e), _('OK'))
return False, None, None
try: