From 264980ad94a526ac7399cfe86af4831c93db11f2 Mon Sep 17 00:00:00 2001 From: Kevin Jiang Date: Sat, 14 Apr 2018 17:55:45 -0400 Subject: [PATCH] More specific Exception name IOException > Exception --- .../com/rarchives/ripme/ripper/rippers/DeviantartRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java index 225c9c23..8ecb8086 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java @@ -128,7 +128,7 @@ public class DeviantartRipper extends AbstractHTMLRipper { // Attempt Login try { cookies = loginToDeviantart(); - } catch (Exception e) { + } catch (IOException e) { logger.warn("Failed to login: ", e); cookies.put("agegate_state","1"); // Bypasses the age gate }