Skip to content

Commit

Permalink
fix(logs): do not log mongoose object with id and no _id to avoid cra…
Browse files Browse the repository at this point in the history
  • Loading branch information
paglias committed Apr 8, 2020
1 parent 71af306 commit 0ea1ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/server/libs/webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0ea1ce9

Please sign in to comment.