Skip to content

Commit

Permalink
switch from systemError to just error with a stack
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Nov 9, 2022
1 parent b477e75 commit 947b0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ async function writeJunitXml(
let errorData = {};
if (err) {
// we want to distinguish whether the error comes from the tests we are running or from arbitrary code
errorData = systemError ? { systemErr: [err.stack] } : { errors: [err] };
errorData = systemError ? { errors: [{ message: err.stack }] } : { errors: [err] };
}

const name = `${taskKey} - ${templateKey}`;
Expand Down

0 comments on commit 947b0c3

Please sign in to comment.