mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Wrap throwables
This commit is contained in:
@@ -1092,7 +1092,7 @@ public class FragmentOAuth extends FragmentBase {
|
||||
return;
|
||||
|
||||
if (ex instanceof IllegalArgumentException)
|
||||
tvError.setText(ex.getMessage());
|
||||
tvError.setText(new ThrowableWrapper(ex).getSafeMessage());
|
||||
else
|
||||
tvError.setText(Log.formatThrowable(ex, false));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user