a rubocop le gustaba otra sintaxis

This commit is contained in:
f 2020-05-04 15:36:48 -03:00
parent 7d89074b28
commit b579fd087e

View file

@ -1,4 +1,6 @@
# frozen_string_literal: true
# Enviar una notificación cuando falla una tarea
SuckerPunch.exception_handler = -> (ex, klass, args) do
SuckerPunch.exception_handler = lambda { |ex, _klass, _args|
ExceptionNotifier.notify_exception(ex)
end
}