Wrap throwables

This commit is contained in:
M66B
2023-12-11 22:04:19 +01:00
parent 37e145a9d6
commit c4a1384232
13 changed files with 87 additions and 26 deletions

View File

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