From 4d949d7641490d6df5a96848628bb3fea6cced6d Mon Sep 17 00:00:00 2001 From: Timothy Yung Date: Wed, 12 Jun 2019 11:37:41 +0100 Subject: [PATCH] [React Native] Replace touch discrepancy errors to warnings (#15866) --- packages/events/ResponderTouchHistoryStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/events/ResponderTouchHistoryStore.js b/packages/events/ResponderTouchHistoryStore.js index 552f9efee0..f58a43f687 100644 --- a/packages/events/ResponderTouchHistoryStore.js +++ b/packages/events/ResponderTouchHistoryStore.js @@ -129,7 +129,7 @@ function recordTouchMove(touch: Touch): void { touchRecord.currentTimeStamp = timestampForTouch(touch); touchHistory.mostRecentTimeStamp = timestampForTouch(touch); } else { - console.error( + console.warn( 'Cannot record touch move without a touch start.\n' + 'Touch Move: %s\n', 'Touch Bank: %s', printTouch(touch), @@ -150,7 +150,7 @@ function recordTouchEnd(touch: Touch): void { touchRecord.currentTimeStamp = timestampForTouch(touch); touchHistory.mostRecentTimeStamp = timestampForTouch(touch); } else { - console.error( + console.warn( 'Cannot record touch end without a touch start.\n' + 'Touch End: %s\n', 'Touch Bank: %s', printTouch(touch),