overleaf/services
Miguel Serrano f4454cfe7e [web] Make SamlLogHandler.log() calls asynchronous (#17207)
* [web] Refactor exports in ErrorController

* [web] Make SamlLogHandler.log() async

* [web] await for SamlLogHandler.log() in ErrorController

* [web] await for SamlLogHandler.log() in SAMLMiddleware

* [web] await for SamlLogHandler.log() async controllers

* [web] await for SamlLogHandler.log() in SAMLManager

* [web] Remove explicit wait when testing SAML logs

After making the logs asynchronouse the wait
is no longer needed

* [web] Avoid using async with SamlLogHandler.log on callbacks

* Add expressifyErrorHandler to promise-utils

* Tighten assertion in SAMLMiddlewareTests

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Updated SamlLogHandler.log to await for promise

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 3645923fae8096a9ba25dc9087f1a36231528569
2024-02-23 09:03:14 +00:00
..
chat Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
clsi Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
contacts Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
docstore Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
document-updater Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
filestore Merge pull request #17237 from overleaf/jpa-s3-iam 2024-02-22 09:04:52 +00:00
git-bridge Merge pull request #15241 from overleaf/em-gcp-opentelemetry 2023-10-19 08:02:52 +00:00
history-v1 Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
notifications Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
project-history Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
real-time Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
spelling Use unique words for spelling unit test (#17195) 2024-02-20 09:05:38 +00:00
web [web] Make SamlLogHandler.log() calls asynchronous (#17207) 2024-02-23 09:03:14 +00:00