Инициалиазация репозитория
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Airbrake.configure do |config|
|
||||
config.error_host = '' # host
|
||||
config.project_id = 1 # required, but any positive integer works
|
||||
config.project_key = '' # KEY
|
||||
config.performance_stats = false
|
||||
config.root_directory = Rails.root
|
||||
|
||||
config.logger = Airbrake::Rails.logger
|
||||
|
||||
config.remote_config = false
|
||||
|
||||
config.environment = Rails.env
|
||||
config.ignore_environments = %w(test development)
|
||||
end
|
||||
|
||||
Airbrake.add_filter do |notice|
|
||||
notice.ignore! if notice[:errors].any? do |error|
|
||||
error[:type] == 'SignalException'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user