The call to Post#read_yaml was in an unnecessary begin...rescue block.
This commit is contained in:
parent
09c1c01d07
commit
266a52b161
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue