Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from alphagov/errbit-config
Browse files Browse the repository at this point in the history
Errbit configuration
  • Loading branch information
AndrewVos committed Apr 8, 2016
2 parents e638a46 + 2a869cb commit bf98e67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/initializers/airbrake.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
if ENV['ERRBIT_API_KEY'].present?
Airbrake.configure do |config|
config.api_key = ENV['ERRBIT_API_KEY']
config.host = "errbit.#{ENV['GOVUK_APP_DOMAIN']}"
config.secure = true
config.environment_name = ENV['ERRBIT_ENVIRONMENT_NAME']
end
end

0 comments on commit bf98e67

Please sign in to comment.