Skip to content

Commit

Permalink
improve mentix authz errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mirekys committed Aug 4, 2022
1 parent f7fe28b commit fdced33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ocm/provider/authorizer/mentix/mentix.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (a *authorizer) getOCMHost(provider *ocmprovider.ProviderInfo) (string, err
if s.Endpoint.Type.Name == "OCM" {
ocmHost, err := url.Parse(s.Host)
if err != nil {
return "", errors.Wrap(err, "mentix: error parsing OCM host URL")
return "", errors.Wrap(err, fmt.Sprintf("mentix: error parsing OCM host URL %s", s.Host))
}
return ocmHost.Host, nil
}
Expand Down

0 comments on commit fdced33

Please sign in to comment.