mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:46:23 +00:00
fix: send sucker punch args
This commit is contained in:
parent
8a5ecd98f7
commit
df3faba784
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# Enviar una notificación cuando falla una tarea
|
# Enviar una notificación cuando falla una tarea
|
||||||
SuckerPunch.exception_handler = lambda { |ex, _klass, _args|
|
SuckerPunch.exception_handler = lambda { |ex, _, args|
|
||||||
ExceptionNotifier.notify_exception(ex)
|
ExceptionNotifier.notify_exception(ex, data: args)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue