Skip to content

Commit

Permalink
Merge 154a3a7 into backport/vault-4243/adequately-promoted-sunbeam
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-secure-vault-core committed Mar 30, 2022
2 parents 61cb98b + 154a3a7 commit 5c63448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/request_handling.go
Expand Up @@ -321,7 +321,7 @@ func (c *Core) checkToken(ctx context.Context, req *logical.Request, unauth bool
// fail later via bad path to avoid confusing items in the log
checkExists = false
case logical.ErrRelativePath:
return nil, te, err
return nil, te, errutil.UserError{Err: err.Error()}
case nil:
if existsResp != nil && existsResp.IsError() {
return nil, te, existsResp.Error()
Expand Down

0 comments on commit 5c63448

Please sign in to comment.