chore: remove unnecessary comments and suppress error logging

This commit is contained in:
2026-03-10 23:26:18 +08:00
parent 8d89c2a0f6
commit c0d4bf8b2b
7 changed files with 21 additions and 30 deletions

View File

@@ -41,8 +41,8 @@ async function sendCancelRequest(cancelUrl, requestId, reason) {
reason,
}),
})
} catch (e) {
console.debug('[Copilot] cancel request failed', e)
} catch {
// Cancel request failed silently
}
}