Skip to content

Commit

Permalink
cleanup: ExceptionsManager: Delete reportUnhandledException
Browse files Browse the repository at this point in the history
Summary:
This method wasn't used from javascript.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D64607415
  • Loading branch information
RSNara authored and facebook-github-bot committed Oct 23, 2024
1 parent 81c6b4b commit dcdba79
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ - (void)reportFatal:(NSString *)message
}
}

// Deprecated. Use reportFatalException directly instead.
RCT_EXPORT_METHOD(reportUnhandledException : (NSString *)message stack : (NSArray<NSDictionary *> *)stack)
{
[self reportFatalException:message stack:stack exceptionId:-1];
}

RCT_EXPORT_METHOD(dismissRedbox) {}

RCT_EXPORT_METHOD(reportException : (JS::NativeExceptionsManager::ExceptionData &)data)
Expand Down

0 comments on commit dcdba79

Please sign in to comment.