From 5944365bc65b4cb827f6fc795d4407a3cbf014f1 Mon Sep 17 00:00:00 2001 From: cflurin Date: Tue, 6 Sep 2016 14:49:53 +0200 Subject: [PATCH] Warning config.json not found --- lib/server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/server.js b/lib/server.js index 0fc54d0..e702cdb 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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 = {