Sha256: 010c2516aed217908711ac188a6c9373eb5266f6ff4149f5fb2a9d11747fd12c
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
DummyApp = Rack::Builder.new do use Rack::ShowExceptions use Airbrake::Rack::Middleware use Warden::Manager Airbrake::Rack.add_default_filters map '/' do run( proc do |_env| [200, { 'Content-Type' => 'text/plain' }, ['Hello from index']] end ) end map '/crash' do run(proc { |_env| raise AirbrakeTestError }) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
airbrake-9.0.1 | spec/apps/rack/dummy_app.rb |
airbrake-9.0.0 | spec/apps/rack/dummy_app.rb |