I tried searching for this, but couldn’t find any resources. In our development builds of React (process.env.NODE_ENV !== “production”), RavenJS seems to catch all of the unhandled exceptions. When it’s done with a production build of React, it doesn’t work as expected.
Does anybody have a workaround for this or know a way to leverage window.onerror (which catches exceptions in both environments)?