diff --git a/sigridci/sigridci/sigrid_api_client.py b/sigridci/sigridci/sigrid_api_client.py index 21a6b5da..bb5ddd99 100644 --- a/sigridci/sigridci/sigrid_api_client.py +++ b/sigridci/sigridci/sigrid_api_client.py @@ -77,6 +77,9 @@ def retry(self, operation, *, attempts=5, allow404=False, allowEmpty=True): else: UploadLog.log(f"The system no longer exists (HTTP status {e.code})") sys.exit(1) + elif e.code == 502: + UploadLog.log("Something went wrong during analysis at SIG (could be an issue in `sigrid.yaml`, please review)") + sys.exit(1) elif allow404 and e.code == 404: return False