lib/thinking_sphinx/deltas/delete_job.rb in thinking-sphinx-3.0.5 vs lib/thinking_sphinx/deltas/delete_job.rb in thinking-sphinx-3.0.6
- old
+ new
@@ -7,9 +7,9 @@
ThinkingSphinx::Connection.take do |connection|
connection.execute Riddle::Query.update(
@index_name, @document_id, :sphinx_deleted => true
)
end
- rescue Mysql2::Error => error
+ rescue ThinkingSphinx::ConnectionError => error
# This isn't vital, so don't raise the error.
end
end