Sha256: f357abb3c10caddac7d9399023d15a7686d4ca047d8e695d399daa0ae67d7d95
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
require "sidekiq" require "sentry" require "sentry/sidekiq/error_handler" require "sentry/sidekiq/cleanup_middleware" # require "sentry/sidekiq/configuration" module Sentry module Sidekiq META = { "name" => "sentry.ruby.sidekiq", "version" => Sentry::Sidekiq::VERSION }.freeze end def self.sdk_meta Sentry::Sidekiq::META end end Sidekiq.configure_server do |config| config.error_handlers << Sentry::Sidekiq::ErrorHandler.new config.server_middleware do |chain| chain.add Sentry::Sidekiq::CleanupMiddleware end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sentry-sidekiq-0.1.1 | lib/sentry/sidekiq.rb |