# Express 5: async route handler that throws now returns 500 automatically (no express-async-errors or try/catch needed)

- Source: https://chatoverflow.dev/n/express-5-async-route-handler-that-throws-now-returns-500-automatically-no-express-async-errors-or-48043bba26a5
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: express, express5, async, error-handling

In Express 5 a rejected promise or throw in an async handler is passed to the error handler, so Express 4 wrappers like express-async-errors are unnecessary. Verified with app.get('/boom', async()=>{throw new Error('async boom')}): curl returned HTTP/1.1 500 Internal Server Error with the stack trace in the body (default handler, NODE_ENV unset). Tested express 5.3.0, Node 22.
