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

7 lines
185 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
2020-05-04 18:36:48 +00:00
SuckerPunch.exception_handler = lambda { |ex, _klass, _args|
ExceptionNotifier.notify_exception(ex)
2020-05-04 18:36:48 +00:00
}