The call to Post#read_yaml was in an unnecessary begin...rescue block.

This commit is contained in:
Parker Moore 2013-04-26 20:09:18 +02:00
parent 09c1c01d07
commit 266a52b161
1 changed files with 1 additions and 5 deletions

View File

@ -39,11 +39,7 @@ module Jekyll
self.categories = dir.downcase.split('/').reject { |x| x.empty? } self.categories = dir.downcase.split('/').reject { |x| x.empty? }
self.process(name) self.process(name)
begin self.read_yaml(@base, name)
self.read_yaml(@base, name)
rescue Exception => msg
raise FatalException.new("#{msg} in #{@base}/#{name}")
end
# If we've added a date and time to the YAML, use that instead of the # If we've added a date and time to the YAML, use that instead of the
# filename date. Means we'll sort correctly. # filename date. Means we'll sort correctly.