Skip to content

Commit

Permalink
fix: build errors logged at info (#2782)
Browse files Browse the repository at this point in the history
fixes: #2405
  • Loading branch information
stuartwdouglas authored Sep 23, 2024
1 parent c1a01c1 commit 05006b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *Cmd) RunBuffered(ctx context.Context) error {

err := c.Run()
if err != nil {
log.FromContext(ctx).Infof("%s", outputBuffer.Bytes())
log.FromContext(ctx).Errorf(err, "%s", outputBuffer.Bytes())
return err
}

Expand Down

0 comments on commit 05006b4

Please sign in to comment.