Sha256: 743d09b611b5225ec175abf5f85868283df6f14a8f8e0191c26055dc214bd9bd

Contents?: true

Size: 320 Bytes

Versions: 10

Compression:

Stored size: 320 Bytes

Contents

require 'bugsnag'
require './app'

configure_basics

def run(callback)
  Bugsnag.before_notify_callbacks << callback
  step_one
end

def step_one
  step_two
end

def step_two
  step_three
end

def step_three
  crash
end

def crash
  begin
    "Test".insrt(-1, "!")
  rescue Exception => e
    Bugsnag.notify(e)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.14.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.13.1 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.13.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.12.2 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.12.1 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.12.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.11.1 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.11.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb
bugsnag-6.10.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb