Skip to content
This repository was archived by the owner on Oct 23, 2018. It is now read-only.

Commit

Permalink
Trying even more to not error on stupid solr errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmac committed Jan 31, 2012
1 parent ad7d6ee commit 372d279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sunspot/mongoid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _remove_index
end
def _update_index
Sunspot.index! self
rescue RSolr::Error::Http => e
rescue => e
puts " Error updating Sunspot index: #{e}"
end
end
Expand Down

0 comments on commit 372d279

Please sign in to comment.