mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
6075d64acf
commit
0646551d76
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user