diff --git a/bugswarm/common/github_wrapper.py b/bugswarm/common/github_wrapper.py index 9bb7944..a1c537b 100644 --- a/bugswarm/common/github_wrapper.py +++ b/bugswarm/common/github_wrapper.py @@ -69,6 +69,8 @@ def get(self, url: str): elif response.status_code == 451: # Repository access blocked. log.error('Repository access blocked:', url) return None, None + elif response.status_code == 422: + return None, None else: log.error('Request for url failed:', url) log.error('Exception:', e) diff --git a/bugswarm/common/rest_api.py b/bugswarm/common/rest_api.py index c73a9f1..b1db68d 100644 --- a/bugswarm/common/rest_api.py +++ b/bugswarm/common/rest_api.py @@ -9,7 +9,7 @@ from . import log -_BASE_URL = 'http://52.173.92.238/api/v1' +_BASE_URL = 'http://23.101.122.54/api/v1' _ARTIFACTS_RESOURCE = 'artifacts' _MINED_BUILD_PAIRS_RESOURCE = 'minedBuildPairs' _MINED_PROJECTS_RESOURCE = 'minedProjects'