mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Small improvements
This commit is contained in:
@@ -60,6 +60,7 @@ import com.google.android.material.snackbar.Snackbar;
|
||||
import org.jsoup.nodes.Document;
|
||||
import org.jsoup.nodes.Element;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@@ -687,7 +688,7 @@ public class FragmentAnswer extends FragmentBase {
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Throwable exex = new Throwable("LanguageTool", ex);
|
||||
Log.unexpectedError(getParentFragmentManager(), exex, false);
|
||||
Log.unexpectedError(getParentFragmentManager(), exex, !(ex instanceof IOException));
|
||||
}
|
||||
}.execute(this, args, "answer:lt");
|
||||
}
|
||||
|
||||
@@ -3018,7 +3018,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
if (!silent) {
|
||||
Throwable exex = new Throwable("LanguageTool", ex);
|
||||
Log.unexpectedError(getParentFragmentManager(), exex, false);
|
||||
Log.unexpectedError(getParentFragmentManager(), exex, !(ex instanceof IOException));
|
||||
}
|
||||
}
|
||||
}.execute(this, args, "compose:lt");
|
||||
|
||||
Reference in New Issue
Block a user