Rescue the entire method instead of just a `begin` block

This commit is contained in:
Parker Moore 2013-04-12 22:25:58 +03:00
parent 0884a52fea
commit 810a29c719
1 changed files with 7 additions and 9 deletions

View File

@ -15,7 +15,6 @@ module Jekyll
#
# Returns nothing
def self.process_site(site)
begin
site.process
rescue Jekyll::FatalException => e
puts
@ -26,4 +25,3 @@ module Jekyll
end
end
end
end