Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

akanksha1909
Copy link
Contributor

@@ -360,7 +360,7 @@ class TestObservability {
if (eventData.status === 'fail' && eventData.lastError) {
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