Prevent SimpleTask IllegalArgumentException from being reported

pull/156/head
M66B 6 years ago
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…
Cancel
Save