5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 05:16:56 +00:00

Merge branch 'resiliencia' into panel.sutty.nl

This commit is contained in:
f 2022-05-05 19:38:57 -03:00
commit de46099594

View file

@ -252,6 +252,8 @@ class Site < ApplicationRecord
layout = layouts[Post.find_layout(doc.path)] layout = layouts[Post.find_layout(doc.path)]
@posts[lang].build(document: doc, layout: layout, lang: lang) @posts[lang].build(document: doc, layout: layout, lang: lang)
rescue TypeError => e
ExceptionNotifier.notify_exception(e, data: { site: name, site_id: id, path: doc.path })
end end
@posts[lang] @posts[lang]