Closed calebTomlinson closed 10 years ago
Can you make a short code example showing this problem? response.send('body'); calls response.end, which would cause the middleware to fire. If it's not, that's definitely a bug, but I can't reproduce it here..
Turns out I fell for the good old fashioned loading middleware out of order problem
Thanks for you time, and the quick response.
the express middleware is not working correctly when I end a request by using response.send('body').
so https://github.com/nlf/bucker/blob/master/index.js#L292 never gets called unless an error happens. Meaning that even log level debug doesn't log all requests.