You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/04/24 18:24:02 UTC

git commit: More exposing of stack traces.

Updated Branches:
  refs/heads/master 72cbcdd40 -> 9dd8e60ab


More exposing of stack traces.


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

Branch: refs/heads/master
Commit: 9dd8e60abbada55377cb4c71bd62da7ff53e0206
Parents: 72cbcdd
Author: Andrew Grieve <ag...@chromium.org>
Authored: Wed Apr 24 12:23:47 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Apr 24 12:23:47 2013 -0400

----------------------------------------------------------------------
 src/install.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/9dd8e60a/src/install.js
----------------------------------------------------------------------
diff --git a/src/install.js b/src/install.js
index def44b8..560ce72 100644
--- a/src/install.js
+++ b/src/install.js
@@ -93,9 +93,9 @@ function runInstall(platform, project_dir, plugin_dir, plugins_dir, cli_variable
                     var issue = '';
                     if (superr) {
                         // Even reversion failed. super fail.
-                        issue = 'Install failed, then reversion of installation failed. Sorry :(. Instalation issue: ' + err.message + ', reversion issue: ' + superr.message;
+                        issue = 'Install failed, then reversion of installation failed. Sorry :(. Instalation issue: ' + err.stack + ', reversion issue: ' + superr.stack;
                     } else {
-                        issue = 'Install failed, plugin reversion successful so you should be good to go. Installation issue: ' + err.message;
+                        issue = 'Install failed, plugin reversion successful so you should be good to go. Installation issue: ' + err.stack;
                     }
                     var error = new Error(issue);
                     if (callback) callback(error);