cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [21/28] git commit: adding message to exception
Date Thu, 24 Apr 2014 21:14:19 GMT
adding message to exception


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/752be1b2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/752be1b2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/752be1b2

Branch: refs/heads/master
Commit: 752be1b2db0f87f06eef5917ec4f7c6a55166baf
Parents: 8fea8b0
Author: Anis Kadri <anis@apache.org>
Authored: Wed Apr 9 16:24:51 2014 -0700
Committer: Anis Kadri <anis@apache.org>
Committed: Fri Apr 11 12:45:45 2014 -0700

----------------------------------------------------------------------
 main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/752be1b2/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index cb08923..68273fd 100755
--- a/main.js
+++ b/main.js
@@ -54,7 +54,7 @@ if (cli_opts.plugins_dir || cli_opts.project) {
 
 process.on('uncaughtException', function(error) {
     if (cli_opts.debug) {
-        console.error(error.stack);
+        console.error(error.message, error.stack);
     } else {
         console.error(error.message);
     }


Mime
View raw message