@sentry/browser
@sentry/node
raven-js
raven-node
_(raven for node)_5.6.1
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:
Sentry Logger [Warn]: Event dropped due to not being matched by `whitelistUrls` option.
Event: Invariant Violation: Minified React error #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.
Detected URL is the react's page...
Workaround...
whitelistUrls: [...(options.whitelistUrls || []), 'reactjs.org'],
Thanks for reporting the issue. Fix pending here https://github.com/getsentry/sentry-javascript/pull/2204
Released in 5.6.2
Dzi臋ki @kamilogorek ;)
@darkowic nie ma sprawy :)