We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69eb0a commit 54cd27eCopy full SHA for 54cd27e
config/initializers/airbrake.rb
@@ -1,9 +1,3 @@
1
-if defined?(Airbrake)
2
- Airbrake.configure do |config|
3
- config.api_key = ENV['AIRBRAKE_API_KEY']
4
- end
5
-else
6
- unless Rails.env.test? || Rails.env.development?
7
- Rails.logger.warn '[WTF WARNING] Someone deleted airbrake and forgot the initializer'
8
+Airbrake.configure do |config|
+ config.api_key = ENV['AIRBRAKE_API_KEY']
9
end
0 commit comments