diff --git a/src/controller/artifact/controller.go b/src/controller/artifact/controller.go index 5a11a8e1ce60..b456af683206 100644 --- a/src/controller/artifact/controller.go +++ b/src/controller/artifact/controller.go @@ -227,6 +227,7 @@ func (c *controller) ensureArtifact(ctx context.Context, repository, digest stri if !errors.IsConflictErr(err) { return false, nil, err } + log.Errorf("failed to create artifact %d: %v", art.ID, err) // if got conflict error, try to get the artifact again artifact, err = c.artMgr.GetByDigest(ctx, repository, digest) if err != nil {