5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 06:31:42 +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 0d0eeee2b1
commit 83ebdea24b

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)