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
Fixing issue #613: Add capability to throw Fault from async function #614
Conversation
What is the status of this? Seams like @ghughal have made a great effort to make these server handlers useful. Async errors are very common in node.js and needs to be supported. Looked over the commits and it seams like a no-brainer - even thou the callback convention is broken by having |
I did my own take on this and found out why the tests failed #641 |
@brodin - I too am waiting for someone to merge it. It would be great if someone can look at it and merge it or provide feedback. |
I'm not a maintainer but you need to do the following first
|
Hello @ghughal - thanks a lot for you contribution and sorry for the extremely long delay 😞 As @simonjosefsson said, please take a look at our Guideline on Submitting a Pull Request as there are some points which must be necessarily fulfilled in order to get your PR merged. The main points are (as already mentioned by @simonjosefsson :
thanks 👍 |
Closing for lack of activity. |
Even you can't throw a Fault from an async function, you can use the callback method in order to return it like this :
|
No description provided.