Skip to content

Commit cb18188

Browse files
author
Joshua Wood
committed
wat
1 parent 8f4e5b6 commit cb18188

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

features/rack.feature

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Feature: Use the notifier in a plain Rack app
88
99
Honeybadger.configure do |config|
1010
config.api_key = 'my_api_key'
11+
config.logger = Logger.new STDOUT
1112
end
1213
1314
app = Rack::Builder.app do
@@ -27,6 +28,7 @@ Feature: Use the notifier in a plain Rack app
2728
Honeybadger.configure do |config|
2829
config.api_key = 'my_api_key'
2930
config.ignore_user_agent << /ignore/
31+
config.logger = Logger.new STDOUT
3032
end
3133
3234
class Mock

lib/honeybadger/rack.rb

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module Honeybadger
2222
class Rack
2323
def initialize(app)
2424
@app = app
25-
Honeybadger.configuration.logger ||= Logger.new STDOUT
2625
end
2726

2827
def ignored_user_agent?(env)

0 commit comments

Comments
 (0)