print verify err

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2024-09-05 13:29:22 -06:00
parent 57b20291bd
commit 668706ccf5

View file

@ -186,7 +186,7 @@ func (v *LiveSigstoreVerifier) Verify(attestations []*api.Attestation, policy ve
verifier, issuer, err := v.chooseVerifier(apr.Attestation.Bundle)
if err != nil {
return &SigstoreResults{
Error: fmt.Errorf("failed to find recognized issuer from bundle content"),
Error: fmt.Errorf("failed to find recognized issuer from bundle content: %v", err),
}
}