Changeset - 2d85e969d78a
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-11-18 13:48:10
marcin@python-works.com
overcomes git push issues with errormiddleware and debug off
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/config/middleware.py
Show inline comments
 
@@ -52,15 +52,15 @@ def make_app(global_conf, full_stack=Tru
 
        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']):
0 comments (0 inline, 0 general)