diff --git a/Platform/Client/githubServer.js b/Platform/Client/githubServer.js index f85b56d46..5aeba44da 100644 --- a/Platform/Client/githubServer.js +++ b/Platform/Client/githubServer.js @@ -775,6 +775,7 @@ exports.newGithubServer = function newGithubServer() { } } catch (err) { + if (err === undefined) { return } console.log('[ERROR] Github Server -> mergeGithubPullRequests -> doGithub -> err.stack = ' + err.stack) } } diff --git a/Projects/Governance/UI/Spaces/Reports-Space/CommandInterface.js b/Projects/Governance/UI/Spaces/Reports-Space/CommandInterface.js index c38ba481d..7abc44b66 100644 --- a/Projects/Governance/UI/Spaces/Reports-Space/CommandInterface.js +++ b/Projects/Governance/UI/Spaces/Reports-Space/CommandInterface.js @@ -181,6 +181,7 @@ function newGovernanceReportsCommmandInterface() { if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result && data.result === GLOBAL.DEFAULT_OK_RESPONSE.result) { UI.projects.education.spaces.docsSpace.navigateTo('Governance', 'Topic', 'Gov Message - Contribute User Profile Done') } else { + if (data.docs === undefined) {return} UI.projects.education.spaces.docsSpace.navigateTo( data.docs.project, data.docs.category,