Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
lwj5 committed Sep 11, 2019
1 parent 0b0872e commit 396c59d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/ai/preferred/venom/Crawler.java
Expand Up @@ -377,11 +377,7 @@ public void cancelled(final @NotNull Request request) {
}
if (!fatalHandlerExceptions.isEmpty()) {
LOGGER.debug("Handler exception found... Interrupting.");
try {
interrupt();
} catch (final Exception e) {
throw new RuntimeException(e);
}
interrupt();
}
LOGGER.debug("({}) will stop producing requests.", crawlerThread.getName());
}
Expand Down

0 comments on commit 396c59d

Please sign in to comment.