chore: remove test log

This commit is contained in:
Barış Soner Uşaklı
2023-07-15 23:42:06 -04:00
parent 934df69e9d
commit b93cc7884e

View File

@@ -257,7 +257,6 @@ module.exports = function (module) {
// https://github.com/NodeBB/NodeBB/issues/4467
// https://jira.mongodb.org/browse/SERVER-14322
// https://docs.mongodb.org/manual/reference/command/findAndModify/#upsert-and-unique-index
console.log('test', err.message);
if (err && err.message.includes('E11000 duplicate key error')) {
console.log(new Error('e11000').stack, key, field, value);
return await module.incrObjectFieldBy(key, field, value);