diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-11-05 14:59:30 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-11-05 15:00:20 -0300 |
commit | 5ae44d80876aa9c1e60280fbf437ee687d9bc3c8 (patch) | |
tree | 54894fdf4a6416e26c726f2c7daa52c2f4bc7ed3 /src/leap/bitmask/gui | |
parent | 104c48b6eb3d6c2a092fae4d50ddd54d0130609b (diff) |
Handle Timeout errors during register.
Also catch all request exceptions to avoid failures.
[Closes #4358]
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r-- | src/leap/bitmask/gui/wizard.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/wizard.py b/src/leap/bitmask/gui/wizard.py index e9c1d86c..8de5802e 100644 --- a/src/leap/bitmask/gui/wizard.py +++ b/src/leap/bitmask/gui/wizard.py @@ -280,7 +280,8 @@ class Wizard(QtGui.QWizard): old_username = self._username self._username = None self._password = None - error_msg = self.tr("Unknown error") + error_msg = self.tr("Something has gone wrong. " + "Please try again.") try: content, _ = get_content(req) json_content = json.loads(content) |