From f4bf2a9117d4f34ead6102f784c019e88e34e1da Mon Sep 17 00:00:00 2001 From: Martin Linkhorst Date: Wed, 25 Mar 2015 10:18:57 +0100 Subject: [PATCH] who let the dogs out? --- config/initializers/airbrake.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/initializers/airbrake.rb b/config/initializers/airbrake.rb index 969673fe90..3441d35d2c 100644 --- a/config/initializers/airbrake.rb +++ b/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