Skip to content

Instantly share code, notes, and snippets.

@mgates
Created October 14, 2014 15:03
Show Gist options
  • Select an option

  • Save mgates/a72a0a01915f122de3c8 to your computer and use it in GitHub Desktop.

Select an option

Save mgates/a72a0a01915f122de3c8 to your computer and use it in GitHub Desktop.
If you need to change the backtrace silencers...
You can put this in an initializer
bc = Rails.backtrace_cleaner
bc.remove_silencers!
bc. add_silencer { |line| (line !~ bc.class::APP_DIRS_PATTERN && line !~ %r[^/?(vendor/gems/internal_gem)])}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment