more logs

This commit is contained in:
Tom Hu 2021-07-07 17:30:11 -07:00
parent 6b3f41e599
commit 79bc42cc5a
No known key found for this signature in database
GPG key ID: F7E832BD316D5603
2 changed files with 14 additions and 0 deletions

View file

@ -14,6 +14,13 @@ try {
request.get('https://uploader.codecov.io/latest/codecov-linux', (err, res, body) => {
console.log(`err ${err}`);
console.log(`res ${res}`);
console.log(`res.ok ${res.ok}`);
if (err) {
console.log('there is err');
}
if (!res.ok) {
console.log('there is no res.ok');
}
if (err || !res.ok) {
core.setFailed(
'Codecov: Could not properly download uploader binary' +