diff --git a/lib/core/config.js b/lib/core/config.js index bbc09cf2c..26743320c 100644 --- a/lib/core/config.js +++ b/lib/core/config.js @@ -153,6 +153,8 @@ Config.prototype.loadExternalContractsFiles = function() { this.contractsFiles.push(new File({filename: contract.file, type: "dapp_file", basedir: '', path: contract.file})); } else if (fs.existsSync(path.join('./node_modules/', contract.file))) { this.contractsFiles.push(new File({filename: path.join('./node_modules/', contract.file), type: "dapp_file", basedir: '', path: path.join('./node_modules/', contract.file)})); + } else { + this.logger.error("contract file not found: " + contract.file); } } };