mirror of https://github.com/M66B/FairEmail.git
Prevent SimpleTask IllegalArgumentException from being reported
This commit is contained in:
parent
4544887666
commit
1162b3a82b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue