mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 03:15:30 +02:00
refactor: log uid that failed
This commit is contained in:
@@ -655,7 +655,7 @@ Actors.prune = async () => {
|
|||||||
await user.deleteAccount(uid);
|
await user.deleteAccount(uid);
|
||||||
deletionCount += 1;
|
deletionCount += 1;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
winston.error(err.stack);
|
winston.error(`Failed to delete user with uid ${uid}: ${err.stack}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
notDeletedDueToLocalContent += 1;
|
notDeletedDueToLocalContent += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user