lib/nanoc3/base/item_rep.rb in nanoc3-3.1.6 vs lib/nanoc3/base/item_rep.rb in nanoc3-3.1.7

- old
+ new

@@ -440,10 +440,10 @@ end def filter_for_layout(layout) # Get filter name and args filter_name, filter_args = @item.site.compiler.filter_for_layout(layout) - raise Nanoc3::Errors::CannotDetermineFilter.new(layout_identifier) if filter_name.nil? + raise Nanoc3::Errors::CannotDetermineFilter.new(layout.identifier) if filter_name.nil? # Get filter class filter_class = Nanoc3::Filter.named(filter_name) raise Nanoc3::Errors::UnknownFilter.new(filter_name) if filter_class.nil?