From 18574aaa3e6db6084f3836a9671f56dc4a6a86db Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 8 Jun 2021 14:26:01 +0200 Subject: [PATCH] Update httpInterface.js --- Client/httpInterface.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index f86ea0d58..c73629065 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -569,9 +569,9 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' deleted.') } catch (err) { noErrorsDuringSaving = false - console.log('[ERROR] httpInterface -> Docs -> Save -> ' + newFilepath + '/' + fileName + ' could not be deleted.') - console.log('[ERROR] httpInterface -> Docs -> Save -> Resolve the issue that is preventing the Client to delete this file. Look at the error message below as a guide. At the UI you will need to delete this page again in order for the Client to retry next time you execute the docs.save command.') - console.log('[ERROR] httpInterface -> Docs -> Save -> err.stack = ' + err.stack) + console.log('[ERROR] httpInterface -> Docs -> Delete -> ' + newFilepath + '/' + fileName + ' could not be deleted.') + console.log('[ERROR] httpInterface -> Docs -> Delete -> Resolve the issue that is preventing the Client to delete this file. Look at the error message below as a guide. At the UI you will need to delete this page again in order for the Client to retry next time you execute the docs.save command.') + console.log('[ERROR] httpInterface -> Docs -> Delete -> err.stack = ' + err.stack) } // } else { // if (schemaDocument.updated === true || schemaDocument.created === true) { @@ -584,10 +584,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE createNewDir(newFilepath) fs.writeFileSync(newFilepath + '/' + fileName, fileContent) if (created === true) { - console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' created.') + // console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' created.') } else { if (updated === true) { - console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' updated.') + //console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' updated.') } } } catch (err) {