You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
React's minified errors caught in errors boundary are not reported when whitelistUrls is set #2202
Provide a link to the affected event from your Sentry account I use custom sentry setup
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node(raven for node)
other:
Version:
5.6.1
Description
The errors Minified React error... visit https://reactjs.org/... caught in react's error boundaries are nor reported because of being dropped due to not matched by whitelistUrls option (and boundary setup like https://docs.sentry.io/platforms/javascript/react/#error-boundaries). When enabling debug mode following warning is visible in the console:
SentryLogger[Warn]: Eventdroppedduetonotbeingmatchedby`whitelistUrls`option.Event: Invariant Violation: MinifiedReacterror #31;visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%24%24typeof%2C%20render%2C%20displayName%2C%20attrs%2C%20componentStyle%2C%20foldedComponentIds%2C%20styledComponentId%2C%20tar....
Url: https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%24%24typeof%2C%20render%2C%20displayName%2C%20attrs%2C%20componentStyle%2C%20foldedComponentIds%2C%20styledComponentId%2C%20target%2C%20withComponent%2C%20toString%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
changed the title [-]React error boundary exceptions are not reported when whitelistUrls is set[/-][+]React's minified errors caught in errors boundary are not reported when whitelistUrls is set[/+]on Aug 13, 2019
Activity
[-]React error boundary exceptions are not reported when whitelistUrls is set[/-][+]React's minified errors caught in errors boundary are not reported when whitelistUrls is set[/+]darkowic commentedon Aug 13, 2019
Workaround...
kamilogorek commentedon Aug 14, 2019
Thanks for reporting the issue. Fix pending here #2204
kamilogorek commentedon Aug 19, 2019
Released in
5.6.2darkowic commentedon Aug 19, 2019
Dzięki @kamilogorek ;)
kamilogorek commentedon Aug 19, 2019
@darkowic nie ma sprawy :)