From 4861a86a2178f3c0affcfa1a4df9787b314c1537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Wed, 12 Dec 2018 16:42:11 +0200 Subject: [PATCH] Merge pull request #1254 from sharelatex/ta-fix-error-log fix var name in error logging GitOrigin-RevId: 5cb11d033737faabb235101049f4c8c55e1f7600 --- .../Features/Subscription/SubscriptionGroupController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Subscription/SubscriptionGroupController.coffee b/services/web/app/coffee/Features/Subscription/SubscriptionGroupController.coffee index 55ad4703c5..6fb58a7cd9 100644 --- a/services/web/app/coffee/Features/Subscription/SubscriptionGroupController.coffee +++ b/services/web/app/coffee/Features/Subscription/SubscriptionGroupController.coffee @@ -13,7 +13,7 @@ module.exports = logger.log subscriptionId: subscription._id, userToRemove_id:userToRemove_id, "removing user from group subscription" SubscriptionGroupHandler.removeUserFromGroup subscription._id, userToRemove_id, (err)-> if err? - logger.err err:err, adminUserId:adminUserId, userToRemove_id:userToRemove_id, "error removing user from group" + logger.err err:err, subscriptionId: subscription._id, userToRemove_id:userToRemove_id, "error removing user from group" return next(err) res.send()