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
@@ -9,6 +9,7 @@
|
||||
|
||||
import {StoreEnhancerStoreCreator} from 'redux';
|
||||
import {ResizeObserver} from './ResizeObserver.d';
|
||||
import {Store} from '../src/reducers';
|
||||
|
||||
export {};
|
||||
type RequestIdleHandle = number;
|
||||
@@ -19,6 +20,8 @@ declare global {
|
||||
}
|
||||
|
||||
interface Window {
|
||||
flipperGlobalStoreDispatch: Store['dispatch'];
|
||||
|
||||
__REDUX_DEVTOOLS_EXTENSION__:
|
||||
| undefined
|
||||
| StoreEnhancerStoreCreator & StoreEnhancerStateSanitizer;
|
||||
|
||||
Reference in New Issue
Block a user