lib/vault/rails.rb in vault-rails-0.7.1 vs lib/vault/rails.rb in vault-rails-0.8.0
- old
+ new
@@ -247,10 +247,10 @@
end
private
def with_retries(client = self.client, &block)
- exceptions = [Vault::HTTPConnectionError, Vault::HTTPServerError]
+ exceptions = [Vault::HTTPConnectionError, Vault::HTTPServerError, Vault::MissingRequiredStateError]
options = {
attempts: self.retry_attempts,
base: self.retry_base,
max_wait: self.retry_max_wait,
}