Philipp Hörist pushed to branch master at gajim / gajim


Commits:
e133c4f0 by lovetox at 2021-10-16T15:48:02+02:00
AccountWizard: Handle all errors during disconnect

Fixes #10658

- - - - -


1 changed file:

- gajim/gtk/account_wizard.py


Changes:

=====================================
gajim/gtk/account_wizard.py
=====================================
@@ -363,7 +363,10 @@ def _on_disconnected(self, client, _signal_name):
             # by the server. This ignores all stream errors if we already
             # know that we succeeded.
             if self.get_current_page() != 'success':
-                self._show_error_page(_('Error'), _('Error'), error)
+                self._show_error_page(_('Error'), _('Error'), text or error)
+
+        else:
+            self._show_error_page(_('Error'), _('Error'), text or error)
 
         self.get_page('form').remove_form()
         self._client.destroy()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e133c4f0fb91213069268a9d8af379ed2ce58aaa

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e133c4f0fb91213069268a9d8af379ed2ce58aaa
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to