##// END OF EJS Templates
scm: catch all exceptions to get scm command version in repository model (#8510)....
scm: catch all exceptions to get scm command version in repository model (#8510). If scm command does not exist, Linux jruby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5999 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2773:7b0cb6aba871
r5879:ee2236f5bdc0
Show More
backtrace_silencers.rb
6 lines | 404 B | text/x-ruby | RubyLexer
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
# You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
# Rails.backtrace_cleaner.remove_silencers!