amend airbrake location

This commit is contained in:
Sam 2013-03-11 17:16:54 -07:00
parent a0bdbe046a
commit 3a58e7aac2
2 changed files with 1 additions and 4 deletions

View file

@ -1,3 +0,0 @@
if Rails.env.production? && File.exists?(Rails.root + '/config/airbrake.rb')
require 'airbrake'
end

View file

@ -1,6 +1,6 @@
# Internally Dicourse uses Errbit for error logging,
# you can to by setting up an instance and amending this file
require 'airbrake'
Airbrake.configure do |config|
config.api_key = 'YOUR API KEY'
config.host = 'errors.example.com'