mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #9476 from overleaf/ta-jpa-best-subscription-logging
Log usersBestSubscription Errors GitOrigin-RevId: 8f626fb7ecef19fb6b6d79238643504b047b20ef
This commit is contained in:
parent
e177a33eb2
commit
9f09c335cc
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue