started extracting the http layer
This commit is contained in:
parent
bd1b114930
commit
b2a29d9eb7
8 changed files with 158 additions and 81 deletions
|
@ -162,7 +162,7 @@ module CouchRest
|
|||
begin
|
||||
design_doc.view_on(db, view_name, opts, &block)
|
||||
# the design doc may not have been saved yet on this database
|
||||
rescue RestClient::ResourceNotFound => e
|
||||
rescue HttpAbstraction::ResourceNotFound => e
|
||||
if retryable
|
||||
save_design_doc_on(db)
|
||||
retryable = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue