trigger build
This commit is contained in:
parent
d16a614584
commit
c0d81d9239
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,7 @@ import drawerReducer from 'redux/reducers/drawer';
|
||||||
import settingsReducer from 'redux/reducers/settings';
|
import settingsReducer from 'redux/reducers/settings';
|
||||||
import thunk from 'redux-thunk';
|
import thunk from 'redux-thunk';
|
||||||
|
|
||||||
|
|
||||||
const globalExceptionHandler = (error, isFatal) => {
|
const globalExceptionHandler = (error, isFatal) => {
|
||||||
if (error && NativeModules.Mixpanel) {
|
if (error && NativeModules.Mixpanel) {
|
||||||
NativeModules.Mixpanel.logException(isFatal, error.message ? error.message : "No message", error);
|
NativeModules.Mixpanel.logException(isFatal, error.message ? error.message : "No message", error);
|
||||||
|
@ -48,7 +49,6 @@ const globalExceptionHandler = (error, isFatal) => {
|
||||||
};
|
};
|
||||||
setJSExceptionHandler(globalExceptionHandler, true);
|
setJSExceptionHandler(globalExceptionHandler, true);
|
||||||
|
|
||||||
|
|
||||||
function isFunction(object) {
|
function isFunction(object) {
|
||||||
return typeof object === 'function';
|
return typeof object === 'function';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue