Skip to content

Commit

Permalink
konveyor#392 Fix handling decompile error output (parameters of Go er…
Browse files Browse the repository at this point in the history
…ror logger)

Signed-off-by: Gerd Aschemann <gerd@aschemann.net>
  • Loading branch information
ascheman committed Nov 10, 2023
1 parent 9465c3a commit 0c52b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/internal/java/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func decompile(ctx context.Context, log logr.Logger, filter decompileFilter, wor
ctx, "java", "-jar", "/bin/fernflower.jar", job.inputPath, outputPathDir)
err := cmd.Run()
if err != nil {
log.V(5).Error(err, "failed to decompile file", "file", job.inputPath, job.outputPath)
log.V(5).Error(err, "failed to decompile file", "file", job.inputPath)
} else {
log.V(5).Info("decompiled file", "source", job.inputPath, "dest", job.outputPath)
}
Expand Down

0 comments on commit 0c52b78

Please sign in to comment.