diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/PullNotificationWorker.java | 5 |
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(); } |