Diagnostics for non-Fabric ViewCommand crash

Summary:
Add additional logging.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D22980132

fbshipit-source-id: ab98d9aebe47dc65780ffbf6648e9341e1750121
This commit is contained in:
Joshua Gross authored and Facebook GitHub Bot committed 2020-08-09 01:39:29 -07:00
1 parent 0416f77ce4
commit 0af275e3be
1 file changed
+2 -2
@@ -704,13 +704,13 @@ public class UIImplementation {
@Deprecated
public void dispatchViewManagerCommand(
int reactTag, int commandId, @Nullable ReadableArray commandArgs) {
assertViewExists(reactTag, "dispatchViewManagerCommand");
assertViewExists(reactTag, "dispatchViewManagerCommand: " + commandId);
mOperationsQueue.enqueueDispatchCommand(reactTag, commandId, commandArgs);
}
public void dispatchViewManagerCommand(
int reactTag, String commandId, @Nullable ReadableArray commandArgs) {
assertViewExists(reactTag, "dispatchViewManagerCommand");
assertViewExists(reactTag, "dispatchViewManagerCommand: " + commandId);
mOperationsQueue.enqueueDispatchCommand(reactTag, commandId, commandArgs);
}