From d40fc595401ebb299b2e5ba4b4f723fd14f57fe5 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Thu, 28 Apr 2022 17:35:56 +0800 Subject: Version v5.2.0-beta1. --- .../ml/docilealligator/infinityforreddit/PullNotificationWorker.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/src/main/java') 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(); } -- cgit v1.2.3