I’m building out a proof of concept to integrate Sentry / raven-js with an existing React web app. I have an ErrorBoundary component which captures render errors and captures them with Raven. I’m seeing the error get duplicated though since it appears Raven has already wrapped something and so I get duplicate errors. I’ve created a simple reproduction here:
Btw, for the repl.it you will need to wait for the page to load and then dismiss the repl.it dialog indicating there is an error. Underneath that you will see my ErrorBoundary component render the errors caught by RavenTestKit.
You can explore the source by clicking the file icon.