From 54b337e39152a08f73dc8ea3b63a16eb2ed260f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E8=8B=92?= <16112591+chen-ran@users.noreply.github.com> Date: Tue, 24 Feb 2026 04:49:28 +0800 Subject: [PATCH] Update agent/src/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- agent/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/src/index.ts b/agent/src/index.ts index c34c9599..515d6876 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -50,6 +50,7 @@ export const createAuthFetcher = (auth: AgentAuthContext): AuthFetcher => { auth.bearer = await refreshPromise } catch (e) { console.error('Token refresh failed', e) + throw e } } }