mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-13 09:30:05 +00:00
fix: add stack
This commit is contained in:
parent
c5627fcd77
commit
69c6af52b7
3 changed files with 11 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue