Feat : qoder provider

This commit is contained in:
Simon Shi
2026-05-29 17:36:27 +07:00
committed by decolua
parent 53c0eefa00
commit 4baaa5c7aa
6 changed files with 27 additions and 11 deletions
+4 -1
View File
@@ -100,7 +100,10 @@ export async function enableTunnel(localPort = 20128) {
console.log("[Tunnel] enable success");
return { success: true, tunnelUrl, shortId, publicUrl };
} catch (e) {
console.error(`[Tunnel] enable error: ${e.message}`);
// Suppress noise when spawn was deliberately killed (restart/disable superseded it)
if (!/cloudflared killed|tunnel cancelled/.test(e.message)) {
console.error(`[Tunnel] enable error: ${e.message}`);
}
throw e;
} finally {
svc.spawnInProgress = false;