refactor: tighten upload and viewer contracts
This commit is contained in:
@@ -223,7 +223,12 @@ async function prepareDracoGlb(
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
await rm(tmpFolder, { recursive: true, force: true }).catch(() => {})
|
||||
await rm(tmpFolder, { recursive: true, force: true }).catch((err) => {
|
||||
console.warn('[WARN] Blender temp cleanup failed', {
|
||||
folderName,
|
||||
error: getErrorMessage(err),
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user