Show uncatched errors to developers
Summary: To make (accidental) errors more visible to developers of Flipper, all uncaught and FBLogger logged errors will be shown in the UI and prefixed with `[DEV]`. This is only done in non-production builds Reviewed By: jknoxville Differential Revision: D18061174 fbshipit-source-id: 9dab0e8d34396b0cb421a4d4e6fc14c81447d190
This commit is contained in:
committed by
Facebook Github Bot
parent
beb797e70d
commit
40bc957b21
@@ -101,6 +101,7 @@ function init() {
|
||||
initLauncherHooks(config(), store);
|
||||
const sessionId = store.getState().application.sessionId;
|
||||
initCrashReporter(sessionId || '');
|
||||
window.flipperGlobalStoreDispatch = store.dispatch;
|
||||
}
|
||||
|
||||
// rehydrate app state before exposing init
|
||||
|
||||
Reference in New Issue
Block a user