mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook Github Bot
parent
0f8ad31745
commit
75deeb32fe
@@ -17,6 +17,7 @@ export type ExtendedError = Error & {
|
||||
preventSymbolication?: boolean,
|
||||
componentStack?: string,
|
||||
forceRedbox?: boolean,
|
||||
isComponentError?: boolean,
|
||||
};
|
||||
|
||||
function parseErrorStack(e: ExtendedError): Array<StackFrame> {
|
||||
|
||||
Reference in New Issue
Block a user