Sha256: 838f6fad2b21ffaa2007cf1edb824391a23c84f46776a67f18a27dae0e7b9d78
Contents?: true
Size: 471 Bytes
Versions: 21
Compression:
Stored size: 471 Bytes
Contents
module Appsignal class Hooks # @api private class QueHook < Appsignal::Hooks::Hook register :que def dependencies_present? defined?(::Que::Job) end def install require "appsignal/integrations/que" ::Que::Job.send(:include, Appsignal::Integrations::QuePlugin) ::Que.error_notifier = proc do |error, _job| Appsignal::Transaction.current.set_error(error) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems