Sha256: 8a1c07334785ac3706483907facd5bc4e78d56e08e08fe0e03e2e16785d87d88

Contents?: true

Size: 239 Bytes

Versions: 27

Compression:

Stored size: 239 Bytes

Contents

module RollbarErrorContext
  attr_accessor :rollbar_context
end

Rollbar.plugins.define('error_context') do
  dependency { configuration.enable_error_context }

  execute! do
    StandardError.send(:include, RollbarErrorContext)
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rollbar-3.6.0 lib/rollbar/plugins/error_context.rb
rollbar-3.5.2 lib/rollbar/plugins/error_context.rb
rollbar-3.5.1 lib/rollbar/plugins/error_context.rb
rollbar-3.5.0 lib/rollbar/plugins/error_context.rb
rollbar-3.4.2 lib/rollbar/plugins/error_context.rb
rollbar-3.4.1 lib/rollbar/plugins/error_context.rb
rollbar-3.4.0 lib/rollbar/plugins/error_context.rb
rollbar-3.3.3 lib/rollbar/plugins/error_context.rb
rollbar-3.3.2 lib/rollbar/plugins/error_context.rb
rollbar-3.3.1 lib/rollbar/plugins/error_context.rb
rollbar-3.3.0 lib/rollbar/plugins/error_context.rb
rollbar-3.2.0 lib/rollbar/plugins/error_context.rb
rollbar-3.1.2 lib/rollbar/plugins/error_context.rb
rollbar-3.1.1 lib/rollbar/plugins/error_context.rb
rollbar-3.1.0 lib/rollbar/plugins/error_context.rb
rollbar-3.0.1 lib/rollbar/plugins/error_context.rb
rollbar-3.0.0 lib/rollbar/plugins/error_context.rb
rollbar-2.27.1 lib/rollbar/plugins/error_context.rb
rollbar-2.27.0 lib/rollbar/plugins/error_context.rb
rollbar-2.26.1 lib/rollbar/plugins/error_context.rb