Fixed a BUG that prevents connectlogger from working if loglevel is WARN

This commit is contained in:
Peter 'Pita' Martischka 2011-12-07 15:28:35 +01:00
parent e5d0b3348f
commit 4cf1d1cfa4

View File

@ -79,9 +79,10 @@ function getLogger(logger4js, options) {
thislogger.log(level, format(fmt, req, res));
}
};
next();
}
//ensure next gets always called
next();
};
}