diff --git a/analyzer-golangcilint/src/main/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzer.java b/analyzer-golangcilint/src/main/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzer.java index f90737d..6e28a16 100644 --- a/analyzer-golangcilint/src/main/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzer.java +++ b/analyzer-golangcilint/src/main/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzer.java @@ -48,6 +48,10 @@ public List analyzeCode(AnalyzerConfigurationDetailDto ru String errorOutput = runtimeExecResult.getErrorOutput(); String successOutput = runtimeExecResult.getSuccessOutput(); + + if(errorOutput!=null && errorOutput.length() > 0){ + CodetyConsoleLogger.debug("Error output from golangci-lint " + errorOutput); + } if(successOutput == null || successOutput.isEmpty()){ return list; }