Skip to content

Commit 132d309

Browse files
fix potential panic due to nil pointer (#85)
1 parent 464c300 commit 132d309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/image/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (o *buildImageOptions) run(ctx context.Context) error {
3838
break
3939
}
4040
if err != nil {
41-
fmt.Printf("Build failed: %s\tErrorDetail: %s\n", msg.Error, msg.ErrorDetail)
41+
fmt.Printf("Build failed: %+v\n", err)
4242
return err
4343
}
4444

0 commit comments

Comments
 (0)