2 files changed
+8
-8
No files matched your search
@@ -45,7 +45,7 @@ function newAppLoader() {
|
||||
'StrategySpace/Workspace/FunctionLibraries/NodeDeleter.js',
|
||||
'StrategySpace/Workspace/FunctionLibraries/ProtocolNode.js',
|
||||
'StrategySpace/Workspace/FunctionLibraries/StringifyNode.js',
|
||||
|
||||
'StrategySpace/Workspace/FunctionLibraries/NodeChildren.js',
|
||||
|
||||
'Utilities/RoundedCornersBackground.js',
|
||||
|
||||
@@ -151,12 +151,12 @@ function newAppLoader() {
|
||||
dashboard.start()
|
||||
}
|
||||
} catch (err) {
|
||||
if (ERROR_LOG === true) { logger.write('[ERROR] loadModules -> onRequired -> err = ' + err) }
|
||||
if (ERROR_LOG === true) { logger.write('[ERROR] loadModules -> onRequired -> err = ' + err.stack) }
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
if (ERROR_LOG === true) { logger.write('[ERROR] loadModules -> err = ' + err) }
|
||||
if (ERROR_LOG === true) { logger.write('[ERROR] loadModules -> err = ' + err.stack) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ function startHtttpServer () {
|
||||
isHttpServerStarted = true
|
||||
}
|
||||
} catch (err) {
|
||||
console.log('[ERROR] server -> startHtttpServer -> Error = ' + err)
|
||||
console.log('[ERROR] server -> startHtttpServer -> Error = ' + err.stack)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,7 +260,7 @@ function onBrowserRequest (request, response) {
|
||||
|
||||
respondWithContent(fileContent, response)
|
||||
} catch (err) {
|
||||
console.log('[ERROR] server -> onBrowserRequest -> File Not Found: ' + fileName + ' or Error = ' + err)
|
||||
console.log('[ERROR] server -> onBrowserRequest -> File Not Found: ' + fileName + ' or Error = ' + err.stack)
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
@@ -319,7 +319,7 @@ function respondWithFile (fileName, response) {
|
||||
// console.log("File Sent: " + fileName);
|
||||
//
|
||||
} catch (err) {
|
||||
console.log('[ERROR] server -> respondWithFile -> onFileRead -> File Not Found: ' + fileName + ' or Error = ' + err)
|
||||
console.log('[ERROR] server -> respondWithFile -> onFileRead -> File Not Found: ' + fileName + ' or Error = ' + err.stack)
|
||||
returnEmptyArray()
|
||||
}
|
||||
}
|
||||
@@ -347,11 +347,11 @@ function respondWithImage (fileName, response) {
|
||||
response.writeHead(200, { 'Content-Type': 'image/png' })
|
||||
response.end(file, 'binary')
|
||||
} catch (err) {
|
||||
console.log('[ERROR] server -> respondWithImage -> onFileRead -> File Not Found: ' + fileName + ' or Error = ' + err)
|
||||
console.log('[ERROR] server -> respondWithImage -> onFileRead -> File Not Found: ' + fileName + ' or Error = ' + err.stack)
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
console.log('[ERROR] server -> respondWithImage -> err = ' + err)
|
||||
console.log('[ERROR] server -> respondWithImage -> err = ' + err.stack)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user