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
2019-11-13 11:33:37 -08:00
committed by Facebook Github Bot
parent 0f8ad31745
commit 75deeb32fe
7 changed files with 25 additions and 10 deletions
@@ -17,6 +17,7 @@ export type ExtendedError = Error & {
preventSymbolication?: boolean,
componentStack?: string,
forceRedbox?: boolean,
isComponentError?: boolean,
};
function parseErrorStack(e: ExtendedError): Array<StackFrame> {