mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Wrap throwables
This commit is contained in:
@@ -292,7 +292,7 @@ public class ProtectedContent {
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
tvError.setText(ex.getMessage());
|
||||
tvError.setText(new ThrowableWrapper(ex).getSafeMessage());
|
||||
tvErrorDetail.setText(ex.toString());
|
||||
tvError.setVisibility(View.VISIBLE);
|
||||
tvErrorDetail.setVisibility(View.VISIBLE);
|
||||
|
||||
Reference in New Issue
Block a user