We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd0b96 commit e493749Copy full SHA for e493749
git2pantheon/api/upload.py
@@ -31,7 +31,7 @@ def push_repo():
31
data = get_request_data()
32
repo = create_repo_object(data)
33
if not GitHelper.validate_git_url(repo.repo):
34
- raise ApiError(message="Error in cloning the repo", status_code=503,
+ raise ApiError(message="Error in cloning the repo", status_code=400,
35
details="Error cloning the repo due to invalid repo URL")
36
parsed_url = GitHelper.parse_git_url(repo.repo)
37
0 commit comments