mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 07:11:42 +00:00
fix: obtener el nombre del sitio
This commit is contained in:
parent
de59cd9f34
commit
01e7436576
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue