Skip to content

Commit

Permalink
fix potential panic due to nil pointer (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 authored Feb 14, 2022
1 parent 464c300 commit 132d309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/image/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (o *buildImageOptions) run(ctx context.Context) error {
break
}
if err != nil {
fmt.Printf("Build failed: %s\tErrorDetail: %s\n", msg.Error, msg.ErrorDetail)
fmt.Printf("Build failed: %+v\n", err)
return err
}

Expand Down

0 comments on commit 132d309

Please sign in to comment.