Sha256: 1243f9a5745100c4db07168dd17252d3c1ebe36b340e67c31cc97e73a40e4195

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

require 'bugsnag'
require './app'

configure_basics

def run(callback)
  Bugsnag.add_on_error(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

1 entries across 1 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/plain/app/stack_frame_modification/initiators/handled_on_error.rb