LogBox - Errors thrown in render are fatals

Summary:
The React team wants exceptions thrown during render to pop over the screen as fatals.

Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D18439258

fbshipit-source-id: dded7b9d93271c1a4eff682be521c7567dfe7d7e
This commit is contained in:
Rick Hanlon authored and Facebook Github Bot committed 2019-11-13 11:33:37 -08:00
1 parent 0f8ad31745
commit 75deeb32fe
7 files changed
+25 -10

No files matched your search

@@ -17,6 +17,7 @@ export type ExtendedError = Error & {
preventSymbolication?: boolean,
componentStack?: string,
forceRedbox?: boolean,
isComponentError?: boolean,
};
function parseErrorStack(e: ExtendedError): Array<StackFrame> {