mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:06:22 +00:00
a rubocop le gustaba otra sintaxis
This commit is contained in:
parent
7d89074b28
commit
b579fd087e
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue