mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
more logs
This commit is contained in:
parent
6b3f41e599
commit
79bc42cc5a
2 changed files with 14 additions and 0 deletions
7
dist/index.js
vendored
7
dist/index.js
vendored
|
|
@ -34545,6 +34545,13 @@ try {
|
|||
request.get('https://uploader.codecov.io/latest/codecov-linux', function (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' +
|
||||
err ? ": " + err : 0);
|
||||
|
|
|
|||
|
|
@ -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' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue