From 266a52b161f358715706d46094893f90a333e9f8 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 26 Apr 2013 20:09:18 +0200 Subject: [PATCH] The call to Post#read_yaml was in an unnecessary begin...rescue block. --- lib/jekyll/post.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 3eab2b04..1ebb7f94 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -39,11 +39,7 @@ module Jekyll self.categories = dir.downcase.split('/').reject { |x| x.empty? } self.process(name) - begin - self.read_yaml(@base, name) - rescue Exception => msg - raise FatalException.new("#{msg} in #{@base}/#{name}") - end + self.read_yaml(@base, name) # If we've added a date and time to the YAML, use that instead of the # filename date. Means we'll sort correctly.