From 064292e79849f47fc6f45bbe97704ab6d27a5d21 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Fri, 29 Jul 2022 23:43:47 +0200 Subject: [PATCH] Fix keykeeper error return --- peridot/keykeeper/v1/sign.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peridot/keykeeper/v1/sign.go b/peridot/keykeeper/v1/sign.go index 2013ca0a..32dcbac1 100644 --- a/peridot/keykeeper/v1/sign.go +++ b/peridot/keykeeper/v1/sign.go @@ -213,7 +213,7 @@ func (s *Server) SignArtifactActivity(ctx context.Context, artifactId string, ke if err2 != nil { 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) if err != nil {