From 0d073ed8294273aa32ee6ce6e87cb968b4027c7c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 13 Jan 2021 14:25:38 +0100 Subject: [PATCH] Finals changes from In-App-Documentation branch. --- Client/httpInterface.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Client/httpInterface.js b/Client/httpInterface.js index 515bef9fc..bf6c934af 100644 --- a/Client/httpInterface.js +++ b/Client/httpInterface.js @@ -553,9 +553,14 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE } const git = simpleGit(options) - await git.add('./*') - await git.commit(commitMessage) - await git.push('origin', branch) + try { + await git.add('./*') + await git.commit(commitMessage) + await git.push('origin', branch) + } catch(err) { + console.log('[ERROR] Error running Contribute.') + console.log(err.stack) + } } async function doGithub() {