Merge pull request #11019 from overleaf/tm-fix-subscription-creation-response-timeout

Fix createSubscription timing out if non-handled error occurs

GitOrigin-RevId: 4f40d7134d81e6c212b045b2b18da36eb0421a43
This commit is contained in:
Thomas
2023-01-18 09:03:51 +00:00
committed by Copybot
parent d01e83b453
commit ae4b4c09b8
2 changed files with 11 additions and 29 deletions
@@ -473,6 +473,7 @@ async function createSubscription(req, res) {
{ err, user_id: user._id },
'something went wrong creating subscription'
)
throw err
}
}
}