From 3ca384e94f39dd6b3345b34ecb21c0b6cbf6cb30 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 20 Jan 2021 15:52:10 +0100 Subject: [PATCH] This is my contribution to Superalgos --- Client/httpInterface.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 12b9fdfdf..5758cb620 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -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)