Skip to content

Fix: Appends error message in error backtrace for Observability #39

Merged
garg3133 merged 4 commits intonightwatchjs:mainfrom
akanksha1909:SDK-2041_fix_o11y
Jan 6, 2025
Merged

Fix: Appends error message in error backtrace for Observability #39
garg3133 merged 4 commits intonightwatchjs:mainfrom
akanksha1909:SDK-2041_fix_o11y

Conversation

@akanksha1909
Copy link
Contributor

testData.failure = [
{
'backtrace': [eventData.lastError.stack]
'backtrace': [stripAnsi(eventData.lastError.message) + '\n' + eventData.lastError.stack]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the array take 2 elements, message, backtrace?

@garg3133 garg3133 merged commit 1e10709 into nightwatchjs:main Jan 6, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants