diff --git a/config/initializers/airbrake.rb b/config/initializers/airbrake.rb index 44cac749..e3c96dfc 100644 --- a/config/initializers/airbrake.rb +++ b/config/initializers/airbrake.rb @@ -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? diff --git a/dotenv.example b/dotenv.example index 3d7bcfb3..e58a5f88 100644 --- a/dotenv.example +++ b/dotenv.example @@ -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