Bug Fixed at Platform Client crashing doing Github Stuff if web app is closed.
This commit is contained in:
1 parent
06385eb3bf
commit
3821164970
1 file changed
+5
-1
@@ -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.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user