Add error handling to desktop server

Change desktop paths
refactor desktop file structure
move WebApp functionalities to express server
Remove unused interfaces
This commit is contained in:
Loui Molina committed 2021-11-30 19:30:58 -03:00
1 parent c600f77b84
commit e771458a32
26 files changed
+309 -2861

No files matched your search

-21
View File
@@ -1,21 +0,0 @@
function newWebDebugLog() {
try {
let thisObject = {
write: write,
fileName: 'undefined'
}
return thisObject
function write(pText) {
console.log(spacePad(thisObject.fileName, 50) + ' : ' + pText)
function spacePad(str, max) {
str = str.toString()
return str.length < max ? spacePad(' ' + str, max) : str
}
}
} catch (err) {
console.log(spacePad(MODULE_NAME, 50) + ' : ' + '[ERROR] WebDebugLog --> err = ' + err.stack)
}
}