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: remove top level errors from pagerror events #862

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

vigneshshanmugam
Copy link
Member

  • Errors that are captured from the journey/browserconsole gets added to the root documents that causes HB to capture them as the Journey error. Even though this is wrong from the HB perspective, These top level erros from the Page are not useful as the error itself contains stack trace to minified code which are not useful for the user when looking at these browser console messages.

  • This PR addresses the issue by removing the error field from the docs but still keeping the error.messages and other details which will be shown under the Step console events.

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

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

Code LGTM, I did not test this e2e

@vigneshshanmugam vigneshshanmugam merged commit cf32f21 into elastic:main Nov 1, 2023
6 checks passed
@vigneshshanmugam vigneshshanmugam deleted the fix-page-error branch November 1, 2023 19:00
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.

2 participants