mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Make airbrake environment configurable
This commit is contained in:
parent
d5d3d6393f
commit
c86bd96588
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,6 @@ Airbrake.configure do |config|
|
|||
config.project_id = ENV['airbrake_project_id']
|
||||
config.project_key = ENV['airbrake_project_key']
|
||||
|
||||
config.environment = Rails.env
|
||||
config.environment = ENV['airbrake_env'] || Rails.env
|
||||
config.ignore_environments = %w(development test)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue