Skip to content

Instantly share code, notes, and snippets.

@stefanroex
Created February 24, 2016 12:31
Show Gist options
  • Save stefanroex/e1c95b3cd6421de03a7a to your computer and use it in GitHub Desktop.
Save stefanroex/e1c95b3cd6421de03a7a to your computer and use it in GitHub Desktop.
require 'rake'
require 'airbrake/rake_handler'
Airbrake.configure do |config|
# ...
config.rescue_rake_exceptions = true
ENV.keys.each do |filtered_key|
config.rake_environment_filters << filtered_key
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment