excepciones con contexto
closes #255 closes #256 closes #257 closes #258 closes #259
This commit is contained in:
parent
77e71f6a66
commit
3b015e0c22
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class MaintenanceJob < ApplicationJob
|
|||
rescue Net::SMTPServerBusy => e
|
||||
# Algunas direcciones no son válidas, no queremos detener el
|
||||
# envío pero sí enterarnos cuáles son
|
||||
ExceptionNotifier.notify_exception e
|
||||
ExceptionNotifier.notify_exception(e, data: { maintenance_id: maintenance_id, email: u[0]) })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -172,7 +172,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
|||
|
||||
box.decrypt_str value.to_s
|
||||
rescue Lockbox::DecryptionError => e
|
||||
ExceptionNotifier.notify_exception(e)
|
||||
ExceptionNotifier.notify_exception(e, data: { site: site.name, post: post.path.absolute, name: name })
|
||||
|
||||
I18n.t('lockbox.help.decryption_error')
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue