New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support async handlers #3696
Comments
We have some promise based ones and I think that would include async functions. Regardless we would love to see your idea! Thanks for opening an issue before making a PR because you may have accidentally made one against this repo on accident. Please make any router change PRs to the repo https://github.com/pillarjs/router and not this repo 👍 |
Thanks Doug. Will do. |
@dougwilson Should I close this issue and re-raise on https://github.com/pillarjs/router ? |
Closing as issue + PR opened in router module. |
Hi folks,
I had an idea to support catching errors in an async function without an 'unhandledPromiseRejectionError'.
This gives developers the freedom to throw again but also means they don't have to do the following pattern.
They can instead do:
PR done as an idea: #3695
The text was updated successfully, but these errors were encountered: