Sha256: dccf6e1ff988c653307bc3b5d4b41e664b8b4ab8234ea18640375898879d3d86

Contents?: true

Size: 279 Bytes

Versions: 12

Compression:

Stored size: 279 Bytes

Contents

require 'bugsnag'
require './app'

configure_basics
add_at_exit

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
  raise RuntimeError.new "Oh no"
end

Version data entries

12 entries across 12 versions & 1 rubygems

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