mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
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
This commit is contained in:
parent
71af306f02
commit
0ea1ce9758
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue