Show More
@@ -653,11 +653,11 b' class HTTPApplication(object):' | |||||
653 | # Get custom repo-locked status code if present. |
|
653 | # Get custom repo-locked status code if present. | |
654 | status_code = request.headers.get('X-RC-Locked-Status-Code') |
|
654 | status_code = request.headers.get('X-RC-Locked-Status-Code') | |
655 | return HTTPRepoLocked( |
|
655 | return HTTPRepoLocked( | |
656 |
title=exception |
|
656 | title=str(exception), status_code=status_code) | |
657 |
|
657 | |||
658 | elif _vcs_kind == 'repo_branch_protected': |
|
658 | elif _vcs_kind == 'repo_branch_protected': | |
659 | # Get custom repo-branch-protected status code if present. |
|
659 | # Get custom repo-branch-protected status code if present. | |
660 |
return HTTPRepoBranchProtected(title=exception |
|
660 | return HTTPRepoBranchProtected(title=str(exception)) | |
661 |
|
661 | |||
662 | exc_info = request.exc_info |
|
662 | exc_info = request.exc_info | |
663 | store_exception(id(exc_info), exc_info) |
|
663 | store_exception(id(exc_info), exc_info) |
General Comments 0
You need to be logged in to leave comments.
Login now