Closed
Description
When using Raven in ReactNative, any error that is thrown outside of a try-catch
block is not captured. It looks like there was an attempt to capture by calling ErrorUtils.setGlobalHandler
. Unfortunately, in production the errors are never captured because the app crashes before the request is complete.
One option is to skip the defaultHandler
, which is what causes the app to crash. However, the best behaviour is application-specific.
Perhaps the best solution is to avoid attempting calling ErrorUtils.setGlobalHandler
at all in the React Native plugin, and instead to provide documentation for users to do it themselves?
Metadata
Metadata
Assignees
Labels
No labels