Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

delegate subsequent next(err) calls #657

Closed
tj opened this Issue · 1 comment

2 participants

@tj
Owner
tj commented

as per discussion today there are certainly cases where you've already responded and still require the means to delegate errors. For example if you respond immediately and then in that same function kick off a job, and that job fails you'll still want to handle these in a centralized way to perform the regular logging etc. These additional next(err) calls would not invoke the error-handling middleware because the response is already made, so in that sense it's not very intuitive

@jonathanong

closing for the same reason as #522 (comment)

@jonathanong jonathanong closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.