Correcting old HTTP abstract issue
This commit is contained in:
parent
89c45ebb87
commit
81168bdd79
|
@ -130,7 +130,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 HttpAbstraction::ResourceNotFound => e
|
||||
rescue RestClient::ResourceNotFound => e
|
||||
if retryable
|
||||
save_design_doc(db)
|
||||
retryable = false
|
||||
|
|
Loading…
Reference in a new issue