Replace errors.Wrap with errors.WithStack
This commit is contained in:
parent
5b999db7f3
commit
8f1ebdd39f
|
@ -80,7 +80,7 @@ func (c RegistryConfiguration) Base64() (string, error) {
|
|||
|
||||
b, err := json.Marshal(authConfig)
|
||||
if err != nil {
|
||||
return "", errors.Wrap(err, "failed to marshal AuthConfig")
|
||||
return "", errors.WithStack(err)
|
||||
}
|
||||
|
||||
return base64.URLEncoding.EncodeToString(b), nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user