Show More
@@ -200,7 +200,7 b' def make_not_found_view(config):' | |||
|
200 | 200 | - old webob type exceptions get converted to pyramid exceptions |
|
201 | 201 | - pyramid exceptions are passed to the error handler view |
|
202 | 202 | """ |
|
203 |
def is_vcs_re |
|
|
203 | def is_vcs_request(request): | |
|
204 | 204 | return True == request.environ.get( |
|
205 | 205 | 'rhodecode.vcs.skip_error_handling') |
|
206 | 206 | |
@@ -210,7 +210,7 b' def make_not_found_view(config):' | |||
|
210 | 210 | |
|
211 | 211 | try: |
|
212 | 212 | response = pylons_app_as_view(context, request) |
|
213 |
if is_webob_error(response) and not is_vcs_re |
|
|
213 | if is_webob_error(response) and not is_vcs_request(request): | |
|
214 | 214 | return error_handler( |
|
215 | 215 | webob_to_pyramid_http_response(response), request) |
|
216 | 216 | except HTTPError as e: # pyramid type exceptions |
General Comments 0
You need to be logged in to leave comments.
Login now