5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 07:41:42 +00:00

fix: obtener el nombre del sitio

This commit is contained in:
f 2023-09-25 14:10:34 -03:00
parent de59cd9f34
commit 01e7436576
No known key found for this signature in database

View file

@ -95,7 +95,7 @@ module Jekyll
I18n.with_locale(locale) do I18n.with_locale(locale) do
raise ArgumentError, I18n.t('activerecord.errors.models.site.attributes.design_id.missing_gem', theme: name) raise ArgumentError, I18n.t('activerecord.errors.models.site.attributes.design_id.missing_gem', theme: name)
rescue ArgumentError => e rescue ArgumentError => e
ExceptionNotifier.notify_exception(e, data: { theme: name, site: site.path }) ExceptionNotifier.notify_exception(e, data: { theme: name, site: File.basename(site.source) })
raise raise
end end
end end