-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
pass queue errors to next middleware from view #1257
base: master
Are you sure you want to change the base?
Conversation
Some remarks:
if(err && this.next){
this.next(err);
}else{
//...
|
Awesome thanks for looking at that. In response to your remarks:
I'll try and get those changes done soon. Thanks!
|
@creynders I looked at the effect on the
What do you think? |
I think 1. should be good enough. However, it does change functionality implicitly. Need to consult @JedWatson on this one. Thanks for the follow-up! |
4dc5f4c
to
5c0fc5f
Compare
This is in reference to issue #1249. It passes out errors from
initQueue
to the next middleware. I am not sure if this is something you want to implement as it changes the View function signature to include next as a third parameter and stores a reference to next within the view, but wanted to take a stab and it and see how it could be done.