Permalink
Browse files

Just skip failures when indexing pages

  • Loading branch information...
karmi committed Nov 26, 2012
1 parent f98907c commit ad41c4932686be1f2072cfa6df53d214093d626c
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/hide/indexer.rb
View
@@ -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.