From b867e932911209c51f18f7df6dad9e580f440229 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 7 Oct 2018 12:21:55 +0000 Subject: [PATCH] Prevent crash --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index 588be83f..69852396 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -1033,7 +1033,7 @@ public class FragmentAccount extends FragmentEx { tilPassword.getEditText().setText(token); } catch (Throwable ex) { Log.e(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex)); - Helper.unexpectedError(getContext(), ex); + snackbar.setText(Helper.formatThrowable(ex)); } finally { snackbar.dismiss(); }