Skip to content

Commit

Permalink
fix(spoon): Reduce logging noise for conversion (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt committed Jul 15, 2023
1 parent d45f858 commit 0984601
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static Optional<AnalyzerResult> toAnalyzerResult(BadSmell badSmell) {
return Optional.ofNullable(badSmell.accept(analyzerResultVisitor));

} catch (Exception e) {
logger.atWarning().withCause(e).withStackTrace(StackSize.SMALL).log(
logger.atWarning().withCause(e).withStackTrace(StackSize.NONE).log(
"Could not convert bad smell to analyzer result");
return Optional.empty();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public CodeAnalyzerResult analyze(AnalyzerRequest request) {
.map(v -> v.ruleID().toString())
.distinct()
.collect(Collectors.joining(",")));

CodeAnalyzerResult.Success success = new CodeAnalyzerResult.Success(analyze, project.project());
analyzerResultPersistenceService.persistResults(success);
return success;
Expand Down

0 comments on commit 0984601

Please sign in to comment.