diff options
author | Alex Legler <a3li@gentoo.org> | 2011-10-14 00:39:29 +0200 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2011-10-14 00:39:29 +0200 |
commit | cbfc7f75ead41b68a2a21a02f08317bb3fa990f1 (patch) | |
tree | 82791503163523e19edb6563e47ee5433a083dcb /config | |
parent | Wording. Thanks again to craig (diff) | |
download | glsamaker-cbfc7f75ead41b68a2a21a02f08317bb3fa990f1.tar.gz glsamaker-cbfc7f75ead41b68a2a21a02f08317bb3fa990f1.tar.bz2 glsamaker-cbfc7f75ead41b68a2a21a02f08317bb3fa990f1.zip |
Add exception_notification plugin
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/glsamaker.rb.sample | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/glsamaker.rb.sample b/config/initializers/glsamaker.rb.sample index 38bb156..0872534 100644 --- a/config/initializers/glsamaker.rb.sample +++ b/config/initializers/glsamaker.rb.sample @@ -38,3 +38,9 @@ GLSAMAKER_BUGZIE_PW = nil # Location of xmlindent(1) GLSAMAKER_XMLINDENT = "/usr/bin/xmlindent" + +# Enabling exception notices +#Glsamaker::Application.config.middleware.use ExceptionNotifier, +# :email_prefix => "[GLSAMaker Error] ", +# :sender_address => %{"GLSAMaker" <#{GLSAMAKER_FROM_EMAIL}>}, +# :exception_recipients => %w{GLSAMAKER_ADMIN_EMAIL}
\ No newline at end of file |