Permalink
Browse files

Removed redundant `rescue` clause in Tire::DSL.search

  • Loading branch information...
1 parent 904798f commit 53cf972eca9db6ccae794d5dbe7f25b1bbd4da85 @karmi committed Mar 5, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/tire/dsl.rb
View
@@ -26,10 +26,6 @@ def search(indices=nil, payload={}, &block)
options.update(:payload => payload) unless payload.empty?
Search::Search.new(indices, options)
end
- rescue Exception => error
- STDERR.puts "[REQUEST FAILED] #{error.class} #{error.message rescue nil}\n"
- raise
- ensure
end
# Build and perform a [multi-search](http://elasticsearch.org/guide/reference/api/multi-search.html)

0 comments on commit 53cf972

Please sign in to comment.