Correcting old HTTP abstract issue

This commit is contained in:
Sam Lown 2010-05-20 20:49:53 +02:00
parent 89c45ebb87
commit 81168bdd79

View file

@ -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