Skip to content

Commit

Permalink
fix(spoon): Improve error logging to contain badsmell classname
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt committed Jul 15, 2023
1 parent 0984601 commit e2f53e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static Optional<AnalyzerResult> toAnalyzerResult(BadSmell badSmell) {

} catch (Exception e) {
logger.atWarning().withCause(e).withStackTrace(StackSize.NONE).log(
"Could not convert bad smell to analyzer result");
"Could not convert bad smell to analyzer result %s", badSmell.getClass());
return Optional.empty();
}
}
Expand Down

0 comments on commit e2f53e5

Please sign in to comment.