mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Prevent SimpleTask IllegalArgumentException from being reported
This commit is contained in:
@@ -92,7 +92,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
try {
|
||||
data = onExecute(context, args);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
if (!(ex instanceof IllegalArgumentException))
|
||||
Log.e(ex);
|
||||
this.ex = ex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user