diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -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)