5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 08:16:26 +00:00

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
}