Skip to content
Browse files

Just skip failures when indexing pages

  • Loading branch information...
1 parent f98907c commit ad41c4932686be1f2072cfa6df53d214093d626c @karmi committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/hide/indexer.rb
View
3 lib/hide/indexer.rb
@@ -38,6 +38,9 @@ def update! before, after
def index_page(page)
p ['INDEXING', page.category, page.id]
p index.store( page.category.to_s, page)
+ rescue Exception => e
+ STDERR.puts "ERROR: " + page.inspect
+ STDERR.puts e.inspect
end
end

0 comments on commit ad41c49

Please sign in to comment.
Something went wrong with that request. Please try again.