2020-05-04 18:36:48 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-05-03 19:33:47 +00:00
|
|
|
# Enviar una notificación cuando falla una tarea
|
2020-05-04 18:36:48 +00:00
|
|
|
SuckerPunch.exception_handler = lambda { |ex, _klass, _args|
|
2020-05-03 19:33:47 +00:00
|
|
|
ExceptionNotifier.notify_exception(ex)
|
2020-05-04 18:36:48 +00:00
|
|
|
}
|