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

Commit a765b8c

Browse files
author
Martin Zagora
committed
Show more info about failure in console.
1 parent 25087f5 commit a765b8c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/NodeConnection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ define(function (require, exports, module) {
341341
// if the load succeeded, we wait for the API refresh to
342342
// resolve the deferred.
343343
},
344-
function () { // command call failed
345-
deferred.reject("Unable to load one of the modules: " + pathArray);
344+
function (reason) { // command call failed
345+
deferred.reject("Unable to load one of the modules: " + pathArray + (reason ? ", reason: " + reason : ""));
346346
}
347347
);
348348

0 commit comments

Comments
 (0)