mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Throwable wrapper
This commit is contained in:
@@ -293,7 +293,7 @@ public class ProtectedContent {
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
tvError.setText(new ThrowableWrapper(ex).getSafeMessage());
|
||||
tvErrorDetail.setText(ex.toString());
|
||||
tvErrorDetail.setText(new ThrowableWrapper(ex).toSafeString());
|
||||
tvError.setVisibility(View.VISIBLE);
|
||||
tvErrorDetail.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user