Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
middleware chain is broken when found ctx.output
I'm not sure about this - I need your eyes here. If I'm on target - I'll add tests so you can merge. I'm using restify, and I have other mw on the chain after the swagger_router. (e.g `server.on('after', restify.auditLogger(options.auditLogCfg));` ) I first noted that when I dont use json_error_handler - I get the audit entry on requests that error, and when I do - I dont. (e.g. - the 'after' event is not emitted) The research led me to the corrected lines.
- Loading branch information