This is my contribution to Superalgos
This commit is contained in:
1 parent
aed93f3d21
commit
3ca384e94f
1 file changed
+6
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user