diff --git a/lib/connect-logger.js b/lib/connect-logger.js index bad8a79..5658d45 100644 --- a/lib/connect-logger.js +++ b/lib/connect-logger.js @@ -79,9 +79,10 @@ function getLogger(logger4js, options) { thislogger.log(level, format(fmt, req, res)); } }; - - next(); } + + //ensure next gets always called + next(); }; }