add rescue statement for blog feed parsing

This commit is contained in:
Matthias Kretschmann 2018-05-22 14:10:37 +02:00
parent d9aad6e860
commit bdec743701
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 13 additions and 12 deletions

View File

@ -34,7 +34,8 @@ module Jekyll
doc.data['image'] = image
jekyll_items.docs << doc
end
rescue
puts "Could not parse blog feed. Are you offline?"
end
end