feat: update the place holder for error out and cancel the task
This commit is contained in:
@ -64,6 +64,7 @@ export async function routes() {
|
|||||||
console.log("[TASK] req.body", req.body);
|
console.log("[TASK] req.body", req.body);
|
||||||
try {
|
try {
|
||||||
if (!success){
|
if (!success){
|
||||||
|
// TODO: Need to call the server to cancel the task
|
||||||
await namespaceWrapper.storeSet(`result-${roundNumber}`, status.ISSUE_SUMMARIZATION_FAILED);
|
await namespaceWrapper.storeSet(`result-${roundNumber}`, status.ISSUE_SUMMARIZATION_FAILED);
|
||||||
console.error("[TASK] Error summarizing repository:", message);
|
console.error("[TASK] Error summarizing repository:", message);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user