More specific Exception name
IOException > Exception
This commit is contained in:
parent
692dcaa990
commit
264980ad94
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user