lib/picky/indexing/categories.rb in picky-0.11.0 vs lib/picky/indexing/categories.rb in picky-0.11.1

- old
+ new

@@ -27,9 +27,11 @@ categories.each do |category| next unless category.name == category_name return category end + + raise %Q{Index category "#{category_name}" not found. Possible categories: "#{categories.map(&:name).join('", "')}".} end end end \ No newline at end of file