Sha256: 83927a84621cd8b3cabcd59b7da859eefbe530e8ad8df39ac2324b2face2e50e

Contents?: true

Size: 242 Bytes

Versions: 33

Compression:

Stored size: 242 Bytes

Contents

class InternalInfoSetter
  MESSAGE = "set by internal_middleware"
  def initialize(bugsnag)
    @bugsnag = bugsnag
  end

  def call(notification)
    notification.meta_data[:custom][:info] = MESSAGE
    @bugsnag.call(notification)
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
bugsnag-5.5.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.4.1 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.4.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.3.3 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.3.2 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.3.1 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.3.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.2.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.1.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.0.1 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-5.0.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-4.2.1 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-4.2.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-4.1.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-4.0.2 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-4.0.1 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-4.0.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-3.0.0 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-2.8.13 spec/fixtures/middleware/internal_info_setter.rb
bugsnag-maglev--2.8.12 spec/fixtures/middleware/internal_info_setter.rb