mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 20:38: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
|
end
|
||||||
|
|
||||||
# Si falla por cualquier cosa informar y descartar
|
# Si falla por cualquier cosa informar y descartar
|
||||||
discard_on(Exception) do |error|
|
discard_on(Exception) do |job, error|
|
||||||
ExceptionNotifier.notify_exception(error, data: { site: @site&.name })
|
ExceptionNotifier.notify_exception(error, data: { job: job })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue