Compare commits

...

2 Commits

Author SHA1 Message Date
Matteo Pagliazzi
e19837f58e 4.140.1 2020-04-08 23:31:26 +02:00
Matteo Pagliazzi
0ea1ce9758 fix(logs): do not log mongoose object with id and no _id to avoid crashes, see https://github.com/davidmarkclements/fast-safe-stringify/issues/43 2020-04-08 23:31:17 +02:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "habitica",
"version": "4.140.0",
"version": "4.140.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,7 +1,7 @@
{
"name": "habitica",
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
"version": "4.140.0",
"version": "4.140.1",
"main": "./website/server/index.js",
"dependencies": {
"@babel/core": "^7.9.0",

View File

@@ -22,7 +22,7 @@ function sendWebhook (webhook, body, user) {
logger.error(webhookErr, {
extraMessage: 'Error while sending a webhook request.',
userId: user._id,
webhook,
webhookId: webhook.id,
});
let _failuresReset = false;