Skip to content

Commit

Permalink
change err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
qweeah committed Mar 30, 2023
1 parent c073669 commit 4f627dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifier/trustpolicy/trustpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func LoadDocument() (*Document, error) {
// SignatureVerification struct throws error if SignatureVerification is invalid
func (signatureVerification *SignatureVerification) GetVerificationLevel() (*VerificationLevel, error) {
if signatureVerification.VerificationLevel == "" {
return nil, errors.New("signature verification configuration is missing or contains empty verification level, it must be specified")
return nil, errors.New("signature verification level is empty or missing in the trust policy statement")
}

var baseLevel *VerificationLevel
Expand Down

0 comments on commit 4f627dc

Please sign in to comment.