Skip to content

Commit

Permalink
Merge pull request #72 from osher/patch-4
Browse files Browse the repository at this point in the history
middleware chain is broken when found ctx.output
  • Loading branch information
theganyo committed Nov 13, 2016
2 parents ee7b01c + ac6dad9 commit d52ff58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/connect_middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ function Middleware(runner) {

debugContent('sending response body: %s', body);
response.end(body);
} else {
next();
}
}

next();
}
catch (err) {
/* istanbul ignore next */
Expand Down

0 comments on commit d52ff58

Please sign in to comment.