Skip to content

Commit

Permalink
fix: some improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Dec 21, 2023
1 parent 2a6f8f0 commit 198b29a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ module.exports = (config) => {
await sendLogToRP({ tempId: stepObj.tempId, level: 'ERROR', message: `[FAILED STEP] - ${(step.err.stack ? step.err.stack : JSON.stringify(step.err))}` });
} else if (stepObj.status === 'failed' && step.test.err) {
await sendLogToRP({ tempId: stepObj.tempId, level: 'ERROR', message: `[FAILED STEP] - ${step.test.err}` });
} else if (stepObj.status === 'failed' && step.helper.currentRunningTest.err) {
await sendLogToRP({ tempId: stepObj.tempId, level: 'ERROR', message: `[FAILED STEP] - ${step.helper.currentRunningTest.err}` });
}

if (helper) {
Expand Down

0 comments on commit 198b29a

Please sign in to comment.