diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/util/BackgroundTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/util/BackgroundTask.java b/app/src/main/java/net/lacolaco/smileessence/util/BackgroundTask.java index 5eb089e1..be5dd09f 100644 --- a/app/src/main/java/net/lacolaco/smileessence/util/BackgroundTask.java +++ b/app/src/main/java/net/lacolaco/smileessence/util/BackgroundTask.java @@ -60,11 +60,11 @@ public abstract class BackgroundTask<Result, Progress> { } protected void fail(Exception ex) { + exception = ex; ex.printStackTrace(); Logger.error(ex); if (!task.isCancelled() && fail != null) { - exception = ex; fail.accept(ex); } } |