Skip to content

Commit

Permalink
📝 CapturerJserror fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alyezz committed May 9, 2019
1 parent 8010432 commit 6c9d554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from 'react-native';
let { Instabug } = NativeModules;
import IBGEventEmitter from './utils/IBGEventEmitter';
import InstabugUtils from './utils/InstabugUtils';
import { captureJsErrors } from './utils/InstabugUtils';
import InstabugConstants from './utils/InstabugConstants';
import Report from './models/Report';
import BugReporting from './modules/BugReporting';
Expand All @@ -19,7 +19,7 @@ import Replies from './modules/Replies';
import CrashReporting from './modules/CrashReporting';
import NetworkLogger from './modules/NetworkLogger';

InstabugUtils.captureJsErrors();
captureJsErrors();
NetworkLogger.setEnabled(true);

var _isOnReportHandlerSet = false;
Expand Down

0 comments on commit 6c9d554

Please sign in to comment.