Capture rate limit and ref not existing config errors

This commit is contained in:
Henry Mercer 2024-04-12 18:25:10 +01:00
parent 5a599c68cf
commit fa75c144b4
6 changed files with 30 additions and 6 deletions

2
lib/upload-lib.js generated
View file

@ -194,7 +194,7 @@ async function uploadPayload(payload, repositoryNwo, logger) {
break;
}
}
throw e;
throw (0, api_client_1.wrapApiConfigurationError)(e);
}
}
// Recursively walks a directory and returns all SARIF files it finds.