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

fix: soporte para ruby 3.1 #9357
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

closes #13603
This commit is contained in:
f 2023-06-14 13:33:47 -03:00
parent 8890a4f231
commit e15d334b22

View file

@ -8,9 +8,9 @@ module ExceptionNotifier
# Recibe la excepción y empieza la tarea de notificación en segundo
# plano.
#
# @param [Exception]
# @param [Hash]
def call(exception, **options)
# @param :exception [Exception]
# @param :options [Hash]
def call(exception, options, &block)
case exception
when BacktraceJob::BacktraceException
GitlabNotifierJob.perform_later(exception, **options)