Skip to content

Commit

Permalink
Improve error message when an extractor fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Schalanda committed Jan 7, 2016
1 parent b6e6db8 commit ce90e74
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public boolean filter(Message msg) {
extractor.runExtractor(msg);
} catch (Exception e) {
extractor.incrementExceptions();
LOG.error("Could not apply extractor " + extractor.getTitle() + " (id=" + extractor.getId() + ")", e);
LOG.error("Could not apply extractor \"" + extractor.getTitle() + "\" (id=" + extractor.getId() + ") "
+ "to message " + msg.getId(), e);
}
}

Expand Down

0 comments on commit ce90e74

Please sign in to comment.