##// END OF EJS Templates
only use errormator if it's actually turned on in .ini file
marcink -
r3511:e1568c0b beta
parent child Browse files
Show More
@@ -56,7 +56,7 b' def make_app(global_conf, full_stack=Tru'
56
56
57 from rhodecode.lib.middleware.sentry import Sentry
57 from rhodecode.lib.middleware.sentry import Sentry
58 from rhodecode.lib.middleware.errormator import Errormator
58 from rhodecode.lib.middleware.errormator import Errormator
59 if Errormator:
59 if Errormator and asbool(config['app_conf'].get('errormator')):
60 app = Errormator(app, config)
60 app = Errormator(app, config)
61 elif Sentry:
61 elif Sentry:
62 app = Sentry(app, config)
62 app = Sentry(app, config)
General Comments 0
You need to be logged in to leave comments. Login now