Skip to content

Commit

Permalink
Do not log the error from the command as we are returning it anyway
Browse files Browse the repository at this point in the history
Otherwise it gets reproted several times

Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Oct 4, 2024
1 parent 75f786c commit 33647f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/plugins/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ func Commands(l logger.Interface, s schema.Stage, fs vfs.FS, console Console) er
for _, cmd := range s.Commands {
out, err := console.Run(templateSysData(l, cmd))
if err != nil {
l.Error(out, ": ", err.Error())
errs = multierror.Append(errs, err)
continue
}
Expand Down

0 comments on commit 33647f0

Please sign in to comment.