Skip to content

Commit 6445271

Browse files
committed
Use Airbrake.io
1 parent 8ac9e95 commit 6445271

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
@@ -183,8 +183,8 @@ group :test do
183183
gem 'stripe-ruby-mock', git: 'https://github.com/rebelidealist/stripe-ruby-mock', branch: 'live-tests'
184184
end
185185

186+
gem 'airbrake'
186187
group :production do
187-
gem 'airbrake'
188188
gem 'newrelic_rpm'
189189
gem 'puma'
190190
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)