# HG changeset patch # User Martin Bornhold # Date 2016-08-09 14:05:30 # Node ID 57108c6da60fcc88989ef8ca4fe632355c4602a0 # Parent 24f4767a81a7d34f28083405f72836829664336f vcs: Remove 'rhodecode.vcs.skip_error_handling' flag from environ. diff --git a/rhodecode/lib/middleware/simplevcs.py b/rhodecode/lib/middleware/simplevcs.py --- a/rhodecode/lib/middleware/simplevcs.py +++ b/rhodecode/lib/middleware/simplevcs.py @@ -353,11 +353,6 @@ class SimpleVCS(object): '%s action on %s repo "%s" by "%s" from %s', action, self.SCM, str_repo_name, safe_str(username), ip_addr) - # Set a flag to skip error handling for VCSMiddleware responses. This - # prevents converting error responses to human readable error pages - # which otherwise confuses the command line clients. - environ['rhodecode.vcs.skip_error_handling'] = True - return self._generate_vcs_response( environ, start_response, repo_path, repo_name, extras, action)