Reduced logging

pull/210/head
M66B 3 years ago
parent d1e802299d
commit 3f1f1fdf22

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

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

Loading…
Cancel
Save