mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 08:31:41 +00:00
fix: soporte para ruby 3.1 #9357
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
closes #13603
This commit is contained in:
parent
0d0eeee2b1
commit
83ebdea24b
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue