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

7 lines
196 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.last)
2020-05-04 18:36:48 +00:00
}