We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe1845 commit c20a5a4Copy full SHA for c20a5a4
plugins/react-native.js
@@ -12,7 +12,7 @@
12
* pathStrip: A RegExp that matches the portions of a file URI that should be
13
* removed from stacks prior to submission.
14
*
15
- * preventDefault: Pass true if you DO NOT wish for Raven to call the original
+ * noRethrow: Pass true if you DO NOT wish for Raven to call the original
16
* global exception handler (e.g. don't crash the app).
17
*/
18
'use strict';
@@ -87,7 +87,7 @@ function reactNativePlugin(Raven, pluginOptions) {
87
88
ErrorUtils.setGlobalHandler(function(){
89
var error = arguments[0];
90
- if (!pluginOptions.preventDefault) {
+ if (!pluginOptions.noRethrow) {
91
defaultHandler.apply(this, arguments)
92
}
93
Raven.captureException(error);
0 commit comments