Prevent SimpleTask IllegalArgumentException from being reported

This commit is contained in:
M66B 2019-05-10 11:34:23 +02:00
parent 4544887666
commit 1162b3a82b
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}