Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't swallow logical.Unwrap error (#4258)
This PR fixes the error handling in the api packages logical.Unwrap method. Previously if there was an error making the request to Vault, the error was only returned if there was an HTTP response and the status code was not a 404. The new code returns all errors but does special case handling if the response code is a 404.
- Loading branch information