templates/airbrake.rb in bretels-1.0.3 vs templates/airbrake.rb in bretels-1.1.0
- old
+ new
@@ -1,6 +1,13 @@
+require 'rake'
+require 'airbrake/rake_handler'
+
Airbrake.configure do |config|
config.api_key = ''
config.host = ''
config.port = 443
config.secure = true
-end
\ No newline at end of file
+ config.rescue_rake_exceptions = true
+ ENV.keys.each do |filtered_key|
+ config.rake_environment_filters << filtered_key
+ end
+end