Update agent/src/index.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
晨苒
2026-02-24 04:49:28 +08:00
committed by Ran
parent 8bbdb2b022
commit 54b337e391
+1
View File
@@ -50,6 +50,7 @@ export const createAuthFetcher = (auth: AgentAuthContext): AuthFetcher => {
auth.bearer = await refreshPromise
} catch (e) {
console.error('Token refresh failed', e)
throw e
}
}
}