ERR_UNHANDLED_REJECTION when using defer #9333
Unanswered
merthanmerter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I just can't figure it out. When I throw error at the deferred data application crashes with below error.
If I simply return an error Response, then the Await element won't understand there is an error.
I'm not sure using
process.on('unhandledRejection', (reason, promise) => -1);
in entry.server is a good practice.Any ideas? Appreciate the help.
Beta Was this translation helpful? Give feedback.
All reactions