ignoreUrls may not work if top-most frame is `eval` or `anonymous`
See original GitHub issueignoreUrls
sometimes only looks at the top-most frame URL to decide whether to reject the error. But some frames have has no “source” and so they leak through.
Example:
SyntaxError: missing ) after argument list
at new Function(<anonymous>)
at Function._.template(/libs.js:123:1)
at initializeTemplates(/app.js:456:2)
at HTMLDocument.<anonymous>(/app.js:789:3)
Not sure what the solution is here. I’m not sure we should tear through and look at every frame (probably slow, e.g. m frames x n regexes).
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Trouble using 'eval' to define a toplevel function when called ...
It binds that anonymous function to the current top scope with the name t1 . My initial question is about why I'm not...
Read more >Seems that whitelistUrls not working - Feedback - #sentry
Have deployed raven to monitor javascript errors with whitelistUrls pointing to our domain, but in dashboard I do see errors from ...
Read more >Agent Command - Sequentum
The Agent command is the first command that executes in an agent; all other commands are sub-commands. So, only one Agent command can...
Read more >2.1 Setting OpenScript Preferences - Oracle Help Center
When playing back a script with a breakpoint in it, if the browser is the top-level window, it might not be clear that...
Read more >raven.js | searchcode
84 * If the exception does not reach the top of the browser, you will only 85 * get a ... or empty...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s just say I’m sensitive to this issue because I may have once deployed an inefficient regex into production that crashed browsers on certain inputs.
It was patched with https://github.com/getsentry/sentry-javascript/pull/1083/