Skip to content

Commit

Permalink
Fix: Appends error message in error backtrace for Observability (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
akanksha1909 authored Jan 6, 2025
1 parent 158cce4 commit 1e10709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testObservability.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class TestObservability {
if (eventData.status === 'fail' && eventData.lastError) {
testData.failure = [
{
'backtrace': [eventData.lastError.stack]
'backtrace': [stripAnsi(eventData.lastError.message), eventData.lastError.stack]
}
];
testData.failure_reason = eventData.lastError ? stripAnsi(eventData.lastError.message) : null;
Expand Down

0 comments on commit 1e10709

Please sign in to comment.