5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 06:21:41 +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 # Recibe la excepción y empieza la tarea de notificación en segundo
# plano. # plano.
# #
# @param [Exception] # @param :exception [Exception]
# @param [Hash] # @param :options [Hash]
def call(exception, **options) def call(exception, options, &block)
case exception case exception
when BacktraceJob::BacktraceException when BacktraceJob::BacktraceException
GitlabNotifierJob.perform_later(exception, **options) GitlabNotifierJob.perform_later(exception, **options)