Node.js · Middle · Question 29 of 75

What changed in Express 5 for async route handlers?

Explanation

In Express 4 a rejection in an async handler was unhandled unless you wrapped it with try/catch or a helper like express-async-handler.

Further reading

Problem with a question

Node.js · Middle · question 29

Test yourself

Take the Node.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz