Correcting old HTTP abstract issue
This commit is contained in:
parent
89c45ebb87
commit
81168bdd79
|
@ -130,7 +130,7 @@ module CouchRest
|
||||||
begin
|
begin
|
||||||
design_doc.view_on(db, view_name, opts, &block)
|
design_doc.view_on(db, view_name, opts, &block)
|
||||||
# the design doc may not have been saved yet on this database
|
# the design doc may not have been saved yet on this database
|
||||||
rescue HttpAbstraction::ResourceNotFound => e
|
rescue RestClient::ResourceNotFound => e
|
||||||
if retryable
|
if retryable
|
||||||
save_design_doc(db)
|
save_design_doc(db)
|
||||||
retryable = false
|
retryable = false
|
||||||
|
|
Loading…
Reference in a new issue