-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixed label extraction from the stack traces in FireFox and Safari #1714
Conversation
🦋 Changeset is good to goLatest commit: 948b34c We got this. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -158,7 +158,7 @@ export const jsx: typeof React.createElement = function( | |||
) | |||
if (!match) { | |||
// safari and firefox | |||
match = error.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/) | |||
match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example stack trace which was failing:
jsx@http://localhost:3000/_next/static/development/pages/theme_ui.js?ts=1578745166666:440:17
jsx$$1@http://localhost:3000/_next/static/development/pages/theme_ui.js?ts=1578745166666:2777:60
TestThemeUI@http://localhost:3000/_next/static/development/pages/theme_ui.js?ts=1578745166666:23:62
renderWithHooks@http://localhost:3000/_next/static/development/dll/dll_d6a88dbe3071bd165157.js?ts=1578745166666:16511:27
mountIndeterminateComponent@http://localhost:3000/_next/static/development/dll/dll_d6a88dbe3071bd165157.js?ts=1578745166666:19045:13
The Chrome one is not matching with ^
at the beginning, so this should be OK here too.
Codecov Report
|
This is still an issue in Prod. Is this getting release soon? |
This has been released few months ago - if u are still experiencing problems with that please create a new issue with a runnable repro case attached to it. |
fixes system-ui/theme-ui#538