mirror of https://github.com/M66B/FairEmail.git
Reduced logging
This commit is contained in:
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…
Reference in New Issue