Sha256: 2e850bf2b3e52c639c9ab1aa11de189369a67dca1e2d9c12875842f95c12668c

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

class SinatraTestApp < Sinatra::Base
  use Airbrake::Rack::Middleware
  use Warden::Manager

  get '/' do
    'Hello from index'
  end

  get '/crash' do
    raise AirbrakeTestError
  end
end

Airbrake::Rack.add_default_filters

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
airbrake-9.0.1 spec/apps/sinatra/sinatra_test_app.rb
airbrake-9.0.0 spec/apps/sinatra/sinatra_test_app.rb