Skip to content

Commit a952061

Browse files
authored
Merge pull request #188 from 1eyewonder/minor-logging-fixes
Minor logging fixes
2 parents da74b71 + 7a29ca7 commit a952061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharp.Analyzers.Cli/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ let writeReport (results: AnalyzerMessage list option) (codeRoot: string option)
358358

359359
sarifLogger.Dispose()
360360
with ex ->
361-
logger.LogError("Could not write sarif to {report}")
361+
logger.LogError(ex, "Could not write sarif to {report}", report)
362362
logger.LogInformation("{0}", ex)
363363

364364
let calculateExitCode (msgs: AnalyzerMessage list option) : int =

0 commit comments

Comments
 (0)