Merge pull request #19 from mstg/keykeeper-error-return-fix

This commit is contained in:
Mustafa Gezen 2022-07-30 00:45:20 +02:00 committed by GitHub
commit d9d36b394f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ func (s *Server) SignArtifactActivity(ctx context.Context, artifactId string, ke
if err2 != nil { if err2 != nil {
s.log.Errorf("failed to add error details to status: %v", err2) s.log.Errorf("failed to add error details to status: %v", err2)
} }
return nil, statusErr return nil, statusErr.Err()
} }
_, err = s.storage.PutObject(newObjectKey, localPath) _, err = s.storage.PutObject(newObjectKey, localPath)
if err != nil { if err != nil {