Remove "Early" in Js error reporting function

Summary:
We will use this error reporting pipeline for all js errors not only early js errors, so remove all "early" prefixes.

Changelog:
[General][Changed] - Remove "Early" in Js error reporting pipeline

Reviewed By: fkgozali

Differential Revision: D37379339

fbshipit-source-id: d44772818ead977a164c8632c081863851046be6
This commit is contained in:
Lulu Wu
2022-06-27 09:22:08 -07:00
committed by Facebook GitHub Bot
parent 6075d64acf
commit 0646551d76
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)reportFatalException:(nullable NSString *)message
stack:(nullable NSArray<NSDictionary *> *)stack
exceptionId:(double)exceptionId;
- (void)reportEarlyJsException:(NSString *)errorMap;
- (void)reportJsException:(NSString *)errorMap;
@property (nonatomic, weak) id<RCTExceptionsManagerDelegate> delegate;
+1 -1
View File
@@ -150,7 +150,7 @@ RCT_EXPORT_METHOD(reportException : (JS::NativeExceptionsManager::ExceptionData
}
}
- (void)reportEarlyJsException:(NSString *)errorStr
- (void)reportJsException:(NSString *)errorStr
{
NSData *jsonData = [errorStr dataUsingEncoding:NSUTF8StringEncoding];
NSError *jsonError;