Changeset - e1568c0bac1f
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-03-09 15:10:05
marcin@python-works.com
only use errormator if it's actually turned on in .ini file
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/config/middleware.py
Show inline comments
 
@@ -56,7 +56,7 @@ def make_app(global_conf, full_stack=Tru
 

	
 
        from rhodecode.lib.middleware.sentry import Sentry
 
        from rhodecode.lib.middleware.errormator import Errormator
 
        if Errormator:
 
        if Errormator and asbool(config['app_conf'].get('errormator')):
 
            app = Errormator(app, config)
 
        elif Sentry:
 
            app = Sentry(app, config)
0 comments (0 inline, 0 general)