Reduced logging

This commit is contained in:
M66B 2022-12-28 12:25:04 +01:00
parent d1e802299d
commit 3f1f1fdf22
2 changed files with 3 additions and 3 deletions

View File

@ -2477,7 +2477,7 @@ public class FragmentCompose extends FragmentBase {
@Override
protected void onException(Bundle args, Throwable ex) {
etBody.setSelection(paragraph.second);
Log.unexpectedError(getParentFragmentManager(), ex, false);
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
}
}.serial().execute(FragmentCompose.this, args, "compose:translate");
}

View File

@ -133,7 +133,7 @@ public class FragmentDialogTranslate extends FragmentDialogBase {
@Override
protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex);
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
}
}.execute(FragmentDialogTranslate.this, args, "translate:all");
}
@ -309,7 +309,7 @@ public class FragmentDialogTranslate extends FragmentDialogBase {
ssb.removeSpan(mark);
tvText.setText(ssb);
Log.unexpectedError(getParentFragmentManager(), ex);
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
}
}.execute(FragmentDialogTranslate.this, args, "paragraph:translate");
}