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

Show more info about failure in console. #5223

Merged
merged 1 commit into from
Sep 17, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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