chore: add try-catch to checkMarkedDeletions loop

This commit is contained in:
Jonathan Barrow
2026-05-12 11:46:35 -04:00
parent f1262bf64a
commit bd37a737e0

View File

@@ -350,6 +350,10 @@ export async function checkMarkedDeletions(): Promise<void> {
});
for (const pnid of pnids) {
await pnid.scrub();
try {
await pnid.scrub();
} catch (error) {
LOG_ERROR(`Failed to scrub PNID ${pnid.pid}: ${error}`);
}
}
}