mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-30 22:48:23 +08:00
Finish up the work to send through the error cookie
Summary: - Includes the error cookie with soft exceptions as well since they too can be updated (requires tiny Android change too) - Passes the error cookie through instead of leaving it unused Closes https://github.com/facebook/react-native/pull/2198 Reviewed By: @svcscm Differential Revision: D2455391 Pulled By: @sahrens
This commit is contained in:
committed by
facebook-github-bot-9
parent
1fd27dae5e
commit
4fd03ba21a
@@ -36,7 +36,7 @@ function reportException(e: Exception, isFatal: bool, stack?: any) {
|
||||
if (isFatal) {
|
||||
RCTExceptionsManager.reportFatalException(e.message, stack, currentExceptionID);
|
||||
} else {
|
||||
RCTExceptionsManager.reportSoftException(e.message, stack);
|
||||
RCTExceptionsManager.reportSoftException(e.message, stack, currentExceptionID);
|
||||
}
|
||||
if (__DEV__) {
|
||||
(sourceMapPromise = sourceMapPromise || loadSourceMap())
|
||||
|
||||
Reference in New Issue
Block a user