Skip to content

Commit ce4957e

Browse files
committed
Use Airbrake.io
1 parent 5041ce7 commit ce4957e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ group :test do
179179
gem 'webmock', '<1.16'
180180
end
181181

182+
gem 'airbrake'
182183
group :production do
183-
gem 'airbrake'
184184
gem 'newrelic_rpm'
185185
gem 'puma'
186186
gem 'rails_12factor'

config/initializers/airbrake.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
if defined?(Airbrake)
22
Airbrake.configure do |config|
3-
config.api_key = ENV['AIRBRAKE_API']
4-
config.host = ENV['AIRBRAKE_HOST']
5-
config.port = 80
6-
config.secure = config.port == 443
3+
config.api_key = ENV['AIRBRAKE_API_KEY']
74
end
85
else
96
unless Rails.env.test? || Rails.env.development?

0 commit comments

Comments
 (0)