You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Most of the hook invocations are not guarded with .catch() or try-await-catch, so promise rejections are unhandled. This causes a server crash by default.
Steps to reproduce the bug
Steps to reproduce the behavior:
Return a rejected promise from a hook e.g. onStoreDocument
Server process crashes due to unhandled rejection
Expected behavior
Errors should be handled appropriately.
The text was updated successfully, but these errors were encountered:
Description
Most of the hook invocations are not guarded with
.catch()
ortry
-await
-catch
, so promise rejections are unhandled. This causes a server crash by default.Steps to reproduce the bug
Steps to reproduce the behavior:
onStoreDocument
Expected behavior
Errors should be handled appropriately.
The text was updated successfully, but these errors were encountered: