Skip to content

Commit 2ad6ac2

Browse files
committed
Fix linting
1 parent b98f32f commit 2ad6ac2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/react-native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ function reactNativePlugin(Raven) {
7171
}
7272
});
7373

74-
var defaultHandler = (ErrorUtils.getGlobalHandler && ErrorUtils.getGlobalHandler())
75-
|| ErrorUtils._globalHandler;
74+
var defaultHandler = ErrorUtils.getGlobalHandler && ErrorUtils.getGlobalHandler() || ErrorUtils._globalHandler;
75+
7676
ErrorUtils.setGlobalHandler(function(){
7777
var error = arguments[0];
7878
defaultHandler.apply(this, arguments)

0 commit comments

Comments
 (0)