Bug Fixed at Platform Client crashing doing Github Stuff if web app is closed.

This commit is contained in:
Luis Fernando Molina committed 2021-09-19 23:37:29 +02:00
1 parent 06385eb3bf
commit 3821164970
1 file changed
+5 -1
+5 -1
View File
@@ -1086,7 +1086,11 @@ exports.newHttpInterface = function newHttpInterface() {
message: err.message, message: err.message,
stack: err.stack stack: err.stack
} }
SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(error), httpResponse) try {
SA.projects.foundations.utilities.httpResponses.respondWithContent(JSON.stringify(error), httpResponse)
} catch(err) {
// we just try to reponnd to the web app, but maybe the response has already been sent.
}
} }
} }
} }