mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 12:58:19 +00:00
Merge branch 'production.panel.sutty.nl' of 0xacab.org:sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
9a9e9cd391
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class ApplicationJob < ActiveJob::Base
|
|||
end
|
||||
|
||||
# Si falla por cualquier cosa informar y descartar
|
||||
discard_on(Exception) do |error|
|
||||
ExceptionNotifier.notify_exception(error, data: { site: @site&.name })
|
||||
discard_on(Exception) do |job, error|
|
||||
ExceptionNotifier.notify_exception(error, data: { job: job })
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue