We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f4e5b6 commit cb18188Copy full SHA for cb18188
features/rack.feature
@@ -8,6 +8,7 @@ Feature: Use the notifier in a plain Rack app
8
9
Honeybadger.configure do |config|
10
config.api_key = 'my_api_key'
11
+ config.logger = Logger.new STDOUT
12
end
13
14
app = Rack::Builder.app do
@@ -27,6 +28,7 @@ Feature: Use the notifier in a plain Rack app
27
28
29
30
config.ignore_user_agent << /ignore/
31
32
33
34
class Mock
lib/honeybadger/rack.rb
@@ -22,7 +22,6 @@ module Honeybadger
22
class Rack
23
def initialize(app)
24
@app = app
25
- Honeybadger.configuration.logger ||= Logger.new STDOUT
26
def ignored_user_agent?(env)
0 commit comments