mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 21:26:21 +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
8890a4f231
commit
e15d334b22
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