server: harmless error message when importing css files from the main theme file
This commit is contained in:
parent
0bdebc1357
commit
020bda16ba
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue