mirror of
https://github.com/owncast/owncast.git
synced 2024-12-18 07:12:33 +03:00
Add additional information to key verification error
This commit is contained in:
parent
14f405bf58
commit
2d44f86035
1 changed files with 2 additions and 2 deletions
|
@ -178,11 +178,11 @@ func GetResolvedPublicKeyFromIRI(publicKeyIRI string) (vocab.W3IDSecurityV1Publi
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = errors.Wrap(err, "error resolving publickey from iri")
|
err = errors.Wrap(err, "error resolving publickey from iri, actor may not be valid: "+publicKeyIRI)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !resolved {
|
if !resolved {
|
||||||
err = errors.New("error resolving publickey from iri")
|
err = errors.New("error resolving publickey from iri, actor may not be valid: " + publicKeyIRI)
|
||||||
}
|
}
|
||||||
|
|
||||||
return pubkey, err
|
return pubkey, err
|
||||||
|
|
Loading…
Reference in a new issue