Mercurial > kallithea
changeset 1696:2d85e969d78a beta
overcomes git push issues with errormiddleware and debug off
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 18 Nov 2011 14:48:10 +0200 |
parents | 42da53d431d7 |
children | 23bf79f4e8d4 |
files | rhodecode/config/middleware.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/config/middleware.py Fri Nov 18 01:15:57 2011 +0200 +++ b/rhodecode/config/middleware.py Fri Nov 18 14:48:10 2011 +0200 @@ -52,15 +52,15 @@ app = ProfilingMiddleware(app) - # we want our low level middleware to get to the request ASAP. We don't - # need any pylons stack middleware in them - app = SimpleHg(app, config) - app = SimpleGit(app, config) - if asbool(full_stack): # Handle Python exceptions app = ErrorHandler(app, global_conf, **config['pylons.errorware']) + # we want our low level middleware to get to the request ASAP. We don't + # need any pylons stack middleware in them + app = SimpleHg(app, config) + app = SimpleGit(app, config) + # Display error documents for 401, 403, 404 status codes (and # 500 when debug is disabled) if asbool(config['debug']):