Closed yoks closed 5 months ago
It looks like vault client overrides error in case if it is returned, and return unhelpful message instead.
This PR adds check if err is in fact nil before returning custom error.
err
nil
It looks like vault client overrides error in case if it is returned, and return unhelpful message instead.
This PR adds check if
err
is in factnil
before returning custom error.