diff --git a/React/CoreModules/RCTExceptionsManager.h b/React/CoreModules/RCTExceptionsManager.h index 34772ba6896463..76d36423d722aa 100644 --- a/React/CoreModules/RCTExceptionsManager.h +++ b/React/CoreModules/RCTExceptionsManager.h @@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)reportFatalException:(nullable NSString *)message stack:(nullable NSArray *)stack exceptionId:(double)exceptionId; -- (void)reportEarlyJsException:(NSString *)errorMap; +- (void)reportJsException:(NSString *)errorMap; @property (nonatomic, weak) id delegate; diff --git a/React/CoreModules/RCTExceptionsManager.mm b/React/CoreModules/RCTExceptionsManager.mm index 7211a77cbed4e5..9d6aafc044be4f 100644 --- a/React/CoreModules/RCTExceptionsManager.mm +++ b/React/CoreModules/RCTExceptionsManager.mm @@ -150,7 +150,7 @@ - (void)reportFatal:(NSString *)message } } -- (void)reportEarlyJsException:(NSString *)errorStr +- (void)reportJsException:(NSString *)errorStr { NSData *jsonData = [errorStr dataUsingEncoding:NSUTF8StringEncoding]; NSError *jsonError;