MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ignoreFailure

Function ignoreFailure

apps/cloud/src/auth/jwks-cache.ts:155–163  ·  view source on GitHub ↗
(work: Promise<unknown>)

Source from the content-addressed store, hash-verified

153 * never fail or delay the verify that happened to trigger it.
154 */
155const ignoreFailure = async (work: Promise<unknown>): Promise<void> => {
156 // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: best-effort cache upkeep must not surface as a verify failure
157 try {
158 await work;
159 } catch {
160 // Deliberately swallowed — the caller already has usable keys, or will
161 // take the upstream path on its next miss.
162 }
163};
164
165const fetchJwksOnce = async (
166 url: URL,

Callers 2

refreshFunction · 0.85
refreshInBackgroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected