diff --git a/src/ml/imf/registry.ts b/src/ml/imf/registry.ts index 33c86c3..3768cb1 100644 --- a/src/ml/imf/registry.ts +++ b/src/ml/imf/registry.ts @@ -204,7 +204,8 @@ async function fetchWithProgress( } catch { continue } - if (!res.ok && res.status !== 206) throw new RegistryError(`fetch failed: ${url} -> ${res.status}`) + if (!res.ok && res.status !== 206) + throw new RegistryError(`fetch failed: ${url} -> ${res.status}`) if (received === 0) total = Number(res.headers.get("content-length") ?? 0) else if (res.status !== 206) { // server ignored Range: restart cleanly rather than corrupt