Merge pull request #758 from cflurin/master

Warning config.json not found
This commit is contained in:
Khaos Tian
2016-09-06 08:28:36 -07:00
committed by GitHub

View File

@@ -150,6 +150,8 @@ Server.prototype._loadConfig = function() {
// Complain and exit if it doesn't exist yet // Complain and exit if it doesn't exist yet
if (!fs.existsSync(configPath)) { if (!fs.existsSync(configPath)) {
log.warn("config.json (%s) not found.", configPath);
var config = {}; var config = {};
config.bridge = { config.bridge = {