Skip to content

Commit

Permalink
Don't log exceptions that are part of the debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanovicz committed Nov 9, 2021
1 parent 0743bac commit bb7b08b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/republicate/stillness/StillnessTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public Pair<String, Exception> debugThrow(Reader source,String template) {
_stillness.setDebugOutput(trace);
_stillness.scrape(source,template,_context);
} catch (Exception e) {
logger.error("exception", e);
// this should be logged upstream
// logger.error("exception", e);
ex = e;
} finally {
if (ex != null) {
Expand Down

0 comments on commit bb7b08b

Please sign in to comment.