upgraded couchrest for 080
This commit is contained in:
parent
db20bc4101
commit
915905ca13
9 changed files with 40 additions and 20 deletions
|
@ -40,7 +40,11 @@ end
|
|||
|
||||
puts attachments.keys.inspect
|
||||
|
||||
doc = @db.get(dirname) rescue nil
|
||||
begin
|
||||
doc = @db.get(dirname)
|
||||
rescue RestClient::Request::RequestFailed
|
||||
doc = nil
|
||||
end
|
||||
|
||||
# puts "get: #{doc.inspect}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue