express-async-errors icon indicating copy to clipboard operation
express-async-errors copied to clipboard

Is ExpressJs v5 support on-progress?

Open hongz1 opened this issue 1 year ago • 3 comments

curious.... when it would be supported.. Thanks.

hongz1 avatar Nov 13 '24 21:11 hongz1

@hongz1 doesn't Express v5 support this out of the box? I didn't test it but I heard it does support async error handling

IonelLupu avatar Nov 14 '24 21:11 IonelLupu

@hongz1 doesn't Express v5 support this out of the box? I didn't test it but I heard it does support async error handling

It doesn't work.

hongz1 avatar Nov 14 '24 23:11 hongz1

This package shouldn't be needed when using Express v5 as it natively supports promises (async/await). See the error handling logic in the v4->v5 migration guide: https://expressjs.com/en/guide/migrating-5.html#rejected-promises

Jaakkonen avatar Jan 02 '25 11:01 Jaakkonen