lib/thinking_sphinx/errors.rb in thinking-sphinx-3.0.1 vs lib/thinking_sphinx/errors.rb in thinking-sphinx-3.0.2

- old
+ new

@@ -3,9 +3,11 @@ case error.message when /parse error/ replacement = ThinkingSphinx::ParseError.new(error.message) when /syntax error/ replacement = ThinkingSphinx::SyntaxError.new(error.message) + when /query error/ + replacement = ThinkingSphinx::QueryError.new(error.message) else replacement = new(error.message) end replacement.set_backtrace error.backtrace