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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user