This is my contribution to Superalgos

This commit is contained in:
Luis Fernando Molina committed 2021-01-20 15:52:10 +01:00
1 parent aed93f3d21
commit 3ca384e94f
1 file changed
+6 -1
+6 -1
View File
@@ -631,7 +631,12 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
placeholder: {}
}
console.log('respond with docs ')
respondWithDocsObject(docs, result.error)
try {
respondWithDocsObject(docs, result.error)
} catch (err) {
console.log('new errro ', err)
}
return
}
respondWithContent(JSON.stringify(global.DEFAULT_OK_RESPONSE), httpResponse)