Warning config.json not found

This commit is contained in:
cflurin
2016-09-06 14:49:53 +02:00
committed by GitHub
parent a8908fd9b8
commit 5944365bc6

View File

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