Skip to content

Commit 5a625aa

Browse files
authored
Merge pull request #46 from Microsoft/users/kerobert/revertlogging
Revert "Better download logging"
2 parents a84de01 + 11cee67 commit 5a625aa

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tool.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -247,16 +247,6 @@ export async function downloadTool(url: string, fileName?: string): Promise<stri
247247
})
248248
}
249249
catch (error) {
250-
if (error.code){
251-
// Print the HTTP Error code. These are always set when
252-
// there is a proxy problem. Two usual suspects are:
253-
// UNABLE_TO_VERIFY_LEAF_SIGNATURE: True when your proxy
254-
// is expressing a self signed cert or when you need
255-
// to trust the root CA from your proxy.
256-
// UNABLE_TO_GET_ISSUER_CERT_LOCALLY: Seems to be set
257-
// when you haven't trusted intermediate CA of your proxy.
258-
tl.error(`Error code is(${error.code})`)
259-
}
260250
reject(error);
261251
}
262252
});
@@ -496,7 +486,7 @@ function _createExtractFolder(dest?: string): string {
496486
}
497487

498488
tl.mkdirP(dest);
499-
489+
500490
return dest;
501491
}
502492

0 commit comments

Comments
 (0)