You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2014/04/24 23:14:09 UTC

[11/28] git commit: adding message to exception

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/7d85eaad
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/7d85eaad
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/7d85eaad

Branch: refs/heads/master
Commit: 7d85eaad5644374caf8fea3475616e15dfb76927
Parents: 909aa10
Author: Anis Kadri <an...@apache.org>
Authored: Wed Apr 9 16:24:51 2014 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Apr 9 16:24:51 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/7d85eaad/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);
     }