From a765b8c66d78a50522c54d2c8cf7978a165c56e1 Mon Sep 17 00:00:00 2001 From: Martin Zagora Date: Mon, 16 Sep 2013 12:00:00 +1000 Subject: [PATCH] Show more info about failure in console. --- src/utils/NodeConnection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/NodeConnection.js b/src/utils/NodeConnection.js index 433b8dca4eb..b59463a93c0 100644 --- a/src/utils/NodeConnection.js +++ b/src/utils/NodeConnection.js @@ -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 : "")); } );