Glenn

Results 34 comments of Glenn

We are always listening 😀

I agree with @ywarezk that the handling is currently not totally ideal. There is an excellent article on [handling async errors in express](https://thecodebarbarian.com/80-20-guide-to-express-error-handling). It is possible to catch the errors...

Sincere thanks for the response. I shall conduct some tests of my own and raise a PR to the documentation.

I did try as was suggested however in the scenario that I have linked even with the suggested modifications I'm not convinced that mocking a third party CJS module from...

The link to the repo above has the example https://github.com/ghinks/esm-issues-with-td

Fantastic a very clear explanation and received with gratitude 🙏🏻

Before I close this, please allow me a day to look at what was said and try to implement it. We are all in the ESM boat together and I...

Actually the example is set within package.json as type module. It is not being handled correctly and as it is an ESM module I cannot clear the cache. I will...

@mcollina ok, so there may be a misunderstanding by myself on this subject. Should all route handlers be async even if they are synchronous themselves. Is this a general practice?...

ok, understood. I thought that was what you would say. Will make appropriate changes.