mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	chore: remove test log
This commit is contained in:
		| @@ -257,7 +257,6 @@ module.exports = function (module) { | |||||||
| 			// https://github.com/NodeBB/NodeBB/issues/4467 | 			// https://github.com/NodeBB/NodeBB/issues/4467 | ||||||
| 			// https://jira.mongodb.org/browse/SERVER-14322 | 			// https://jira.mongodb.org/browse/SERVER-14322 | ||||||
| 			// https://docs.mongodb.org/manual/reference/command/findAndModify/#upsert-and-unique-index | 			// 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')) { | 			if (err && err.message.includes('E11000 duplicate key error')) { | ||||||
| 				console.log(new Error('e11000').stack, key, field, value); | 				console.log(new Error('e11000').stack, key, field, value); | ||||||
| 				return await module.incrObjectFieldBy(key, field, value); | 				return await module.incrObjectFieldBy(key, field, value); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user