diff --git a/CHANGELOG.md b/CHANGELOG.md index a909e6f0..0eeb375e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,8 @@ ## 1.16.3 - bug fixes - - custom module's submodules not loading their own submodule with relative paths properly + - custom module's submodules not loading their own submodules with relative paths properly + - harmless error message when importing css files from the main theme file ## 1.16.2 diff --git a/src/server/server.js b/src/server/server.js index 5791fa2e..681194ed 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -25,6 +25,7 @@ var urlparser = require('url'), zeroconf = require('./zeroconf'), {resolveHomeDir} = require('./utils'), prod = !process.argv[0].includes('node_modules'), + debug = setting.read('debug'), osc = {}, clients = {}, httpCheckTimeout @@ -51,7 +52,7 @@ function resolvePath(url, clientId) { // safari seems to be picky with cookies if (clientId === undefined) console.error(`(ERROR, HTTP) Could not resolve requested url ${url} (client id not found in http cookies)`) // this should never happen, but just in case... - else console.error(`(ERROR, HTTP) Could not resolve requested url ${url} (unregistered client id ${clientId})`) + else if (debug) console.log(`(DEBUG, HTTP) Requested url ${url} not resolved against session path (unregistered client id ${clientId})`) } else { sessionPath = path.dirname(ipc.clients[clientId].sessionPath) }