From af453a310902ae55a0f3f41980457fc710f38214 Mon Sep 17 00:00:00 2001 From: Adalbert Gorecki Date: Mon, 18 Jul 2016 11:02:24 +0200 Subject: [PATCH] Show the right error message in the console --- Libraries/Utilities/Alert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Utilities/Alert.js b/Libraries/Utilities/Alert.js index ee733d1ece63..21b18adfa834 100644 --- a/Libraries/Utilities/Alert.js +++ b/Libraries/Utilities/Alert.js @@ -113,7 +113,7 @@ class AlertAndroid { } DialogModuleAndroid.showAlert( config, - (errorMessage) => console.warn(message), + (errorMessage) => console.warn(errorMessage), (action, buttonKey) => { if (action !== DialogModuleAndroid.buttonClicked) { return;