Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5223 from zaggino/nodeErrorHandling
Browse files Browse the repository at this point in the history
Show more info about failure in console.
  • Loading branch information
JeffryBooher committed Sep 17, 2013
2 parents 78814b4 + a765b8c commit a12c0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/NodeConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ define(function (require, exports, module) {
// if the load succeeded, we wait for the API refresh to
// resolve the deferred.
},
function () { // command call failed
deferred.reject("Unable to load one of the modules: " + pathArray);
function (reason) { // command call failed
deferred.reject("Unable to load one of the modules: " + pathArray + (reason ? ", reason: " + reason : ""));
}
);

Expand Down

0 comments on commit a12c0ba

Please sign in to comment.