Change project id/key to not be the same setting

This commit is contained in:
Henne Vogelsang 2019-02-14 23:26:50 +01:00
parent 334f84179f
commit 216cf632b8
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
Airbrake.configure do |config|
# Change this to some sensible data for your errbit instance
config.project_id = ENV['OSEM_ERRBIT_APIKEY'] || Rails.application.secrets.errbit_key || ''
config.project_key = ENV['OSEM_ERRBIT_APIKEY'] || Rails.application.secrets.errbit_key || ''
config.project_id = ENV['OSEM_ERRBIT_ID'] || Rails.application.secrets.errbit_id || ''
config.project_key = ENV['OSEM_ERRBIT_KEY'] || Rails.application.secrets.errbit_key || ''
config.host = ENV['OSEM_ERRBIT_HOST']
config.environment = Rails.env
if config.project_key.blank? || config.host.blank?

View file

@ -49,8 +49,10 @@
# The errbit host to post exceptions to
# OSEM_ERRBIT_HOST=errbit.example.com
# The api key for the errbit host
# OSEM_ERRBIT_APIKEY=1234
# The project to use on the errbit host
# OSEM_ERRBIT_ID=1234
# The key for this project
# OSEM_ERRBIT_KEY=5678
# OMNIAUTH Developer Key/Secret for GOOGLE
# OSEM_GOOGLE_KEY=1234