who let the dogs out?

pull/2729/head
Martin Linkhorst 10 years ago
parent bd8612909c
commit f4bf2a9117
  1. 6
      config/initializers/airbrake.rb

@ -3,9 +3,9 @@ airbrake = OpenProject::Configuration['airbrake']
if airbrake && airbrake['api_key']
Airbrake.configure do |config|
config.api_key = airbrake['api_key']
config.host = airbrake['host'] if airbrake['host']
config.port = Integer(airbrake['port'] || 443)
config.secure = config.port == 443
config.host = airbrake['host'] if airbrake['host']
config.port = Integer(airbrake['port'] || 443)
config.secure = config.port == 443
Rails.logger.info "Successfully connected to Airbrake at #{config.host}:#{config.port}."
end

Loading…
Cancel
Save