Closed
Description
I was following the helpful React Native integration read me and stumbled on an error when attempting to call the Raven.captureException()
API:
Raven.captureException(ex, {
extra: context
})
The error is specifically in the react-native.js
plugin and the error is:
However, if I specify the shouldSendCallback
when initialising Raven, the error disappears.
Raven.config(
...,
{ release: '...', shouldSendCallback: () => { ... }}
).install();
Is there a sensible default we can define for shouldSendCallback
? Or can we document that it is a required config parameter?
Many thanks!
Metadata
Metadata
Assignees
Labels
No labels