mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 03:48:16 +00:00
Merge branch 'issue-14339' into production.panel.sutty.nl
This commit is contained in:
commit
4e5e4aa022
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