aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-04-28 09:35:56 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-04-28 09:35:56 +0000
commitd40fc595401ebb299b2e5ba4b4f723fd14f57fe5 (patch)
treeee50ebea0b3b1408879fdbce8750ae7c7688dd5d /app/src/main
parent77ed06dac1c27f331d1af51e0e60c137718880b5 (diff)
downloadinfinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.gz
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.bz2
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.lz
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.xz
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.tar.zst
infinity-for-reddit-d40fc595401ebb299b2e5ba4b4f723fd14f57fe5.zip
Version v5.2.0-beta1.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java
index 80e54fea..6f49519a 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java
@@ -201,10 +201,7 @@ public class PullNotificationWorker extends Worker {
return Result.retry();
}
}
- } catch (IOException e) {
- e.printStackTrace();
- return Result.retry();
- } catch (JSONException e) {
+ } catch (IOException | JSONException e) {
e.printStackTrace();
return Result.retry();
}