mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
earlyjs: Reset error handler state after js pipeline fails (#47528)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47528 After the js pipeline fails to handle the error, reset the hasHandledFatalError var. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D65678387 fbshipit-source-id: ac7cd4724954ea78bf33542e208c5f5d3dba5383
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ca7b9e9509
commit
a2959a915c
@@ -244,6 +244,9 @@ void JsErrorHandler::handleError(
|
||||
"handleError(): Error raised while reporting using js pipeline. Using c++ pipeline instead.",
|
||||
ex,
|
||||
error);
|
||||
|
||||
// Re-try reporting using the c++ pipeline
|
||||
_hasHandledFatalError = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user