1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Prevent crash

This commit is contained in:
M66B 2018-10-07 12:21:55 +00:00
parent e496278128
commit b867e93291

View file

@ -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();
}