5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 18:26:21 +00:00
panel/config/initializers/sucker_punch.rb

7 lines
201 B
Ruby
Raw Normal View History

2020-05-04 18:36:48 +00:00
# frozen_string_literal: true
# Enviar una notificación cuando falla una tarea
2023-03-13 23:31:39 +00:00
SuckerPunch.exception_handler = lambda { |ex, _, args|
ExceptionNotifier.notify_exception(ex, data: { args: args })
2020-05-04 18:36:48 +00:00
}