mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-08-20 01:34:05 -05:00
chore: add try-catch to checkMarkedDeletions loop
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user