Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4ea7f34 authored by Bradley Young's avatar Bradley Young
Browse files

catch Throwable, rather than MessagingException, to prevent a crash on stray exceptions.

parent 483857ed
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -128,11 +128,11 @@ public class AccountSetupCheckSettings extends Activity implements OnClickListen
                	acceptKeyDialog(
                            R.string.account_setup_failed_dlg_certificate_message_fmt,
                            cve);
                			//cve.getMessage() == null ? "" : cve.getMessage());
                } catch (final MessagingException me) {
                } catch (final Throwable t) {
                    showErrorDialog(
                            R.string.account_setup_failed_dlg_server_message_fmt,
                            me.getMessage() == null ? "" : me.getMessage());
                            (t.getMessage() == null ? "" : t.getMessage()));
                	
                }
            }