mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #9476 from overleaf/ta-jpa-best-subscription-logging
Log usersBestSubscription Errors GitOrigin-RevId: 8f626fb7ecef19fb6b6d79238643504b047b20ef
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user