recreating a non-existant database shouldn't raise any exception (and we make sure of it)
Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
This commit is contained in:
parent
d5b354367d
commit
ec51c34f7d
2 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ module CouchRest
|
|||
def recreate!
|
||||
delete!
|
||||
create!
|
||||
rescue HttpAbstraction::ResourceNotFound
|
||||
rescue RestClient::ResourceNotFound
|
||||
ensure
|
||||
create!
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue