Closed
Description
Getting an exception here: https://github.com/getsentry/raven-js/blob/master/plugins/react-native.js#L89
TypeError: undefined is not an object (evaluating 'originalCallback.call')
Adding a guard seems to resolve the problem, though I don't understand the source enough to know if that's the right solution:
Raven.setShouldSendCallback(function(data, originalCallback) {
if (originalCallback && !(FATAL_ERROR_KEY in data)) {
return originalCallback.call(this, data);
}
Metadata
Metadata
Assignees
Labels
No labels