You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/10/13 19:58:01 UTC
[cordova-plugin-device] 01/01: Log error to console,
not to dialog box
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch no-alert
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-device.git
commit b7eeb5b8cfe023b88ea4a6f499478c05f8e813cd
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Sun Oct 13 21:57:47 2019 +0200
Log error to console, not to dialog box
---
www/device.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/device.js b/www/device.js
index 41ed04f..102e342 100644
--- a/www/device.js
+++ b/www/device.js
@@ -64,7 +64,7 @@ function Device () {
channel.onCordovaInfoReady.fire();
}, function (e) {
me.available = false;
- utils.alert('[ERROR] Error initializing Cordova: ' + e);
+ console.error('[ERROR] Error initializing cordova-plugin-device: ' + e);
});
});
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org