Sha256: 3341df261223411abb1cc58bb28a88b8f91a0cb5625b772b10db4bcf440c1013
Contents?: true
Size: 906 Bytes
Versions: 12
Compression:
Stored size: 906 Bytes
Contents
Feature: Use the notifier in a plain Rack app Background: Given I have built and installed the "airbrake" gem Scenario: Rescue and exception in a Rack app Given the following Rack app: """ require 'rack' require 'airbrake' Airbrake.configure do |config| config.api_key = 'my_api_key' end app = Rack::Builder.app do use Airbrake::Rack run lambda { |env| raise "Rack down" } end """ When I perform a Rack request to "http://example.com:123/test/index?param=value" Then I should receive the following Airbrake notification: | error message | RuntimeError: Rack down | | error class | RuntimeError | | parameters | param: value | | url | http://example.com:123/test/index?param=value |
Version data entries
12 entries across 12 versions & 1 rubygems