You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ka...@apache.org on 2014/06/13 22:29:00 UTC
git commit: Fix comment - CordovaError message vs. full stack trace.
Repository: cordova-cli
Updated Branches:
refs/heads/master 7bc6b94dd -> d9b4ff7da
Fix comment - CordovaError message vs. full stack trace.
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/d9b4ff7d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/d9b4ff7d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/d9b4ff7d
Branch: refs/heads/master
Commit: d9b4ff7da81ab60438235a3288a10b98eaa7ff27
Parents: 7bc6b94
Author: Mark Koudritsky <ka...@gmail.com>
Authored: Fri Jun 13 16:27:21 2014 -0400
Committer: Mark Koudritsky <ka...@gmail.com>
Committed: Fri Jun 13 16:27:21 2014 -0400
----------------------------------------------------------------------
src/cli.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/d9b4ff7d/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 0e1ef21..a4b6241 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -85,7 +85,8 @@ function cli(inputArgs) {
plugman = cordova_lib.plugman;
- // For CrodovaError print only the message without stack trace.
+ // For CordovaError print only the message without stack trace unless we
+ // are in a verbose mode.
process.on('uncaughtException', function(err){
if ( (err instanceof CordovaError) && !args.verbose ) {
console.error(err.message);