From 9f09c335ccff96343e8b267b86c99852c322ab1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Tue, 13 Sep 2022 09:56:02 +0200 Subject: [PATCH] Merge pull request #9476 from overleaf/ta-jpa-best-subscription-logging Log usersBestSubscription Errors GitOrigin-RevId: 8f626fb7ecef19fb6b6d79238643504b047b20ef --- services/web/app/src/Features/Project/ProjectController.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web/app/src/Features/Project/ProjectController.js b/services/web/app/src/Features/Project/ProjectController.js index a79a5ab235..34df7e60be 100644 --- a/services/web/app/src/Features/Project/ProjectController.js +++ b/services/web/app/src/Features/Project/ProjectController.js @@ -451,6 +451,10 @@ const ProjectController = { (err, subscription) => { if (err) { // do not fail loading the project list when fetching the best subscription fails + logger.error( + { userId, err }, + 'Could not get usersBestSubscription' + ) return cb(null, { type: 'error' }) } cb(null, subscription)