mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 04:26:23 +00:00
9 lines
248 B
Ruby
9 lines
248 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 || {}))
|
||
|
end
|