Skip to content

Commit

Permalink
Fix error in return statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacknz committed Mar 19, 2024
1 parent 9f5c4ac commit e7f8957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/mage/pkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (b packageBuilder) Build() error {
log.Printf("Package spec: %+v", b.Spec)
err := b.Type.Build(b.Spec)
if err != nil {
return fmt.Errorf("failed building %v type=%v for platform=%v: %w", err)
return fmt.Errorf("failed building %v type=%v for platform=%v: %w", b.Spec.Name, b.Type, b.Platform.Name, err)
}
return nil
}
Expand Down

0 comments on commit e7f8957

Please sign in to comment.