diaspora/config/initializers/airbrake.rb
Maxwell Salzberg 53304df740 I can't test this at this momement. I will put it back in once i have a
chance to test it first Revert "finally found a way to disable airbrake [ci skip]"

This reverts commit 8aafd56482.
2012-01-24 15:42:39 -08:00

11 lines
No EOL
341 B
Ruby

# Copyright (c) 2012, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
if AppConfig[:airbrake_api_key].present?
require 'airbrake'
Airbrake.configure do |config|
puts AppConfig[:airbrake_api_key]
config.api_key = AppConfig[:airbrake_api_key]
end
end