We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98f32f commit 2ad6ac2Copy full SHA for 2ad6ac2
plugins/react-native.js
@@ -71,8 +71,8 @@ function reactNativePlugin(Raven) {
71
}
72
});
73
74
- var defaultHandler = (ErrorUtils.getGlobalHandler && ErrorUtils.getGlobalHandler())
75
- || ErrorUtils._globalHandler;
+ var defaultHandler = ErrorUtils.getGlobalHandler && ErrorUtils.getGlobalHandler() || ErrorUtils._globalHandler;
+
76
ErrorUtils.setGlobalHandler(function(){
77
var error = arguments[0];
78
defaultHandler.apply(this, arguments)
0 commit comments