Skip to content

Conversation

@Diophontine
Copy link

scriptError variable seems misleading given it only becomes the message if the stacktrace is empty. If this is the only cases that this happens, we should at least differentiate the message from the standard Script Error thrown by browsers.

Situations where the Stacktrace can be empty but not a script error: csnover/TraceKit#70

@darcythomas darcythomas requested a review from Olwiba July 24, 2023 22:51
Copy link
Contributor

@Olwiba Olwiba left a comment

Choose a reason for hiding this comment

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

This change looks good, I can see where this would be useful

@darcythomas
Copy link
Contributor

darcythomas commented Jul 25, 2023

This issues was resolved with more descriptive 'in-app' message.
With links to documentation on the cause, and actions a developer can take to fix the root cause (CORS).

https://raygun.com/documentation/language-guides/javascript/crash-reporting/script-errors/

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