-
-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working