fix: silently skip /denied/ and other non-hosted download prefixes

These are valid entries we've been asked not to host — no need to
log warnings for them.

claude-opus-4-6@MacFiver
This commit is contained in:
2026-02-17 16:17:43 +00:00
parent 9efedb5f2e
commit 6b91fde972

View File

@@ -336,10 +336,13 @@ async function main() {
try { try {
const localZip = toLocalPath(fileLink); const localZip = toLocalPath(fileLink);
if (!localZip) { if (!localZip) {
logWarn(` [${id}] Unsupported file_link prefix: ${fileLink}`); // /denied/ and other non-hosted prefixes — skip silently
errors++; skipped++;
processed++; processed++;
currentState.lastProcessedId = id; currentState.lastProcessedId = id;
if (processed % 500 === 0) {
await checkpoint();
}
continue; continue;
} }