lib/groupdocs/questionnaire.rb in groupdocs-0.3.7 vs lib/groupdocs/questionnaire.rb in groupdocs-0.3.8
- old
+ new
@@ -40,10 +40,10 @@
request[:method] = :GET
request[:path] = "/merge/{{client_id}}/questionnaires/#{id}"
end.execute!
Questionnaire.new(json[:questionnaire])
- rescue RestClient::BadRequest
+ rescue RestClient::ResourceNotFound
nil
end
#
# Returns an array of all executions.