mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 04:21:41 +00:00
enviar notificaciones cuando fallan tareas
This commit is contained in:
parent
5ffef95186
commit
ddb97e11f3
1 changed files with 4 additions and 0 deletions
4
config/initializers/sucker_punch.rb
Normal file
4
config/initializers/sucker_punch.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Enviar una notificación cuando falla una tarea
|
||||
SuckerPunch.exception_handler = -> (ex, klass, args) do
|
||||
ExceptionNotifier.notify_exception(ex)
|
||||
end
|
Loading…
Reference in a new issue