Quantcast
Channel: iain.nl
Viewing all articles
Browse latest Browse all 133

Silencing Passenger

$
0
0

When using Rails 2.3 and Passenger, you can do yourself a favor by adding this line to config/silencers/backtrace_silencer.rb

Rails.backtrace_cleaner.add_silencer { |line| line =~ /^\s*passenger/ }

Saves you scrolling through the endless backtraces passenger gives you for free :)

PS. A colleague tweeted this lovely backtrace of a spring with grails error. I say: backtrace cleaner FTW!


Viewing all articles
Browse latest Browse all 133

Trending Articles