always log full error
This commit is contained in:
parent
42235cc048
commit
8127c47bbd
12 changed files with 14 additions and 4 deletions
|
|
@ -68,6 +68,7 @@ async function run() {
|
|||
|
||||
} catch (error) {
|
||||
core.setFailed("We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. " + error.message);
|
||||
console.log(error);
|
||||
await sendCompletedStatusReport(startedAt, [language], language, error);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -152,6 +152,7 @@ async function run() {
|
|||
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
console.log(error);
|
||||
await sendStatusReport(startedAt, queriesStats, uploadStats, error);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ async function run() {
|
|||
|
||||
} catch (e) {
|
||||
core.setFailed(e.message);
|
||||
console.log(e);
|
||||
await util.sendStatusReport(await util.createStatusReportBase('init', 'aborted', startedAt, e.message));
|
||||
return;
|
||||
}
|
||||
|
|
@ -268,6 +269,7 @@ async function run() {
|
|||
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
console.log(error);
|
||||
await util.sendStatusReport(await util.createStatusReportBase(
|
||||
'init',
|
||||
'failure',
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ async function run() {
|
|||
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
console.log(error);
|
||||
await util.sendStatusReport(await util.createStatusReportBase(
|
||||
'upload-sarif',
|
||||
'failure',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue