fix: add stack

This commit is contained in:
Tom Hu 2023-11-10 07:51:50 +11:00
parent c5627fcd77
commit 69c6af52b7
No known key found for this signature in database
GPG key ID: 79155678363963D2
3 changed files with 11 additions and 7 deletions

View file

@ -2,6 +2,7 @@ import * as fs from 'fs';
import * as https from 'https';
import * as path from 'path';
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import buildExec from './buildExec';
@ -28,6 +29,7 @@ try {
res.pipe(filePath);
filePath
.on('error', (err) => {
core.info(`Stack: ${err.stack}`);
setFailure(
`Codecov:Failed to write uploader binary: ${err.message}\n${err}`,
true,