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:19 UTC
[21/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/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 <an...@apache.org>
Authored: Wed Apr 9 16:24:51 2014 -0700
Committer: Anis Kadri <an...@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);
}