5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 14:16:22 +00:00
panel/config/initializers/que.rb
f 4064d41855
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: duplicar el hash
2023-06-14 13:39:26 -03:00

8 lines
252 B
Ruby

# frozen_string_literal: true
ActiveJob::Serializers.add_serializers ActiveJob::Serializers::ExceptionSerializer
# Notificar los errores
Que.error_notifier = proc do |error, job|
ExceptionNotifier.notify_exception(error, data: (job.dup || {}))
end