Stringified errors from scheduled deletion

This commit is contained in:
Stefan Zermatten
2020-10-16 10:23:34 +02:00
parent dc1b025090
commit 7aa3e5a217

View File

@@ -23,7 +23,7 @@ Meteor.startup(() => {
removedAt: {$lt: thirtyMinutesAgo} // dates *before* 30 minutes ago
}, function(error){
if (error){
console.error(error);
console.error(JSON.stringify(error, null, 2));
}
});
});