test: try to log the error better

This commit is contained in:
Tom Hu 2023-11-10 07:45:36 +11:00
parent eaaf4bedf3
commit a73dca8897
No known key found for this signature in database
GPG key ID: 79155678363963D2
4 changed files with 15 additions and 51 deletions

View file

@ -29,7 +29,7 @@ try {
filePath
.on('error', (err) => {
setFailure(
`Codecov: Failed to write uploader binary: ${err.message}`,
`Codecov:Failed to write uploader binary: ${err.message}\n${err}`,
true,
);
}).on('finish', async () => {