mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Add js engine information in React Native error reporting
Summary: To avoid "js engine: ..." appearing everywhere, only add this information to the error message when react native is reporting errors to the server. Reviewed By: yungsters Differential Revision: D9754371 fbshipit-source-id: a8001480c75ccf93c953c79f26470df678871cb3
This commit is contained in:
committed by
Facebook Github Bot
parent
6e980a826e
commit
2b1d8cc54b
@@ -19,6 +19,7 @@ export type StackFrame = {
|
||||
|
||||
export type ExtendedError = Error & {
|
||||
framesToPop?: number,
|
||||
jsEngine?: string,
|
||||
};
|
||||
|
||||
function parseErrorStack(e: ExtendedError): Array<StackFrame> {
|
||||
|
||||
Reference in New Issue
Block a user