Improved rule/header message

pull/214/head
M66B 11 months ago
parent b172e217b2
commit e49a991f0a

@ -478,7 +478,8 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> {
@Override @Override
protected void onException(Bundle args, Throwable ex) { protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex, false); boolean report = !(ex instanceof IllegalArgumentException);
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex, report, 71);
} }
}.execute(context, owner, args, "rule:execute"); }.execute(context, owner, args, "rule:execute");
} }

@ -137,7 +137,7 @@ public class FragmentDialogRuleCheck extends FragmentDialogBase {
@Override @Override
protected void onException(Bundle args, Throwable ex) { protected void onException(Bundle args, Throwable ex) {
boolean report = !(ex instanceof IllegalArgumentException); boolean report = !(ex instanceof IllegalArgumentException);
Log.unexpectedError(getParentFragmentManager(), ex, report); Log.unexpectedError(getParentFragmentManager(), ex, report, 71);
} }
}.execute(FragmentDialogRuleCheck.this, args, "rule:execute"); }.execute(FragmentDialogRuleCheck.this, args, "rule:execute");
} }
@ -200,7 +200,7 @@ public class FragmentDialogRuleCheck extends FragmentDialogBase {
tvNoMessages.setText(new ThrowableWrapper(ex).getSafeMessage()); tvNoMessages.setText(new ThrowableWrapper(ex).getSafeMessage());
tvNoMessages.setVisibility(View.VISIBLE); tvNoMessages.setVisibility(View.VISIBLE);
} else } else
Log.unexpectedError(getParentFragmentManager(), ex); Log.unexpectedError(getParentFragmentManager(), ex, 71);
} }
}.execute(this, args, "rule:check"); }.execute(this, args, "rule:check");

@ -1252,7 +1252,8 @@ public class FragmentFolders extends FragmentBase {
@Override @Override
protected void onException(Bundle args, Throwable ex) { protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex, false); boolean report = !(ex instanceof IllegalArgumentException);
Log.unexpectedError(getParentFragmentManager(), ex, report, 71);
} }
}.execute(this, args, "folder:rules"); }.execute(this, args, "folder:rules");
} }

Loading…
Cancel
Save