vulcan-next icon indicating copy to clipboard operation
vulcan-next copied to clipboard

Server-side callbacks are hiding errors / failing silently

Open eric-burel opened this issue 4 years ago • 0 comments

Describe the bug

Callback behaviour is not predictible enough.

To Reproduce For instance, I had forgottoen to import crypto in the hashPassword function of the user model.

The user creation callback was failing, but silently :(

Expected behavior

Fail explicitely, except if the callback is specifically marked as failing silently. More broadly, handle server-error correctly => they should return a 500 but should not fail the whole server.

eric-burel avatar Sep 27 '21 14:09 eric-burel