mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-28 16:55:36 +00:00
fix(recording): abort prune on unreadable project
This commit is contained in:
@@ -82,11 +82,11 @@ async function loadSavedProjectMediaPaths() {
|
||||
editor?: { webcam?: { sourcePath?: unknown } };
|
||||
}>(await fs.readFile(projectPath, "utf-8"));
|
||||
} catch (error) {
|
||||
console.warn("[prune] Skipping unreadable project while pruning recordings", {
|
||||
console.warn("[prune] Aborting recording prune because a saved project is unreadable", {
|
||||
projectPath,
|
||||
error,
|
||||
});
|
||||
return;
|
||||
throw error;
|
||||
}
|
||||
const candidatePaths = [
|
||||
rawProject.videoPath,
|
||||
|
||||
Reference in New Issue
Block a user