Mailinglist Archive: yast-commit (1771 mails)

< Previous Next >
[yast-commit] <rest-service> master : add full exception log
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Thu, 27 Aug 2009 15:44:55 +0200
  • Message-id: <E1Mj7Kc-0002sf-TJ@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit b016d92489e70fda8a9164ddf3c357f70605ed81
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Thu Aug 27 15:44:55 2009 +0200

add full exception log
---
.../config/initializers/backtrace_silencers.rb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/webservice/config/initializers/backtrace_silencers.rb
b/webservice/config/initializers/backtrace_silencers.rb
new file mode 100644
index 0000000..b882c65
--- /dev/null
+++ b/webservice/config/initializers/backtrace_silencers.rb
@@ -0,0 +1,7 @@
+# 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!
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages