Skip to content

Commit

Permalink
fix: display JVM build errors (#3804)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Dec 18, 2024
1 parent 0425e60 commit 58c3173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jvm-runtime/plugin/common/jvmcommon.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func build(ctx context.Context, bctx buildContext, autoRebuild bool) (*langpb.Bu
}
logger.Infof("Using build command '%s'", config.Build)
command := exec.Command(ctx, log.Debug, config.Dir, "bash", "-c", config.Build)
err = command.Run()
err = command.RunBuffered(ctx)
if err != nil {
return &langpb.BuildResponse{Event: &langpb.BuildResponse_BuildFailure{&langpb.BuildFailure{
IsAutomaticRebuild: autoRebuild,
Expand Down

0 comments on commit 58c3173

Please sign in to comment.