[#9] Call next(err) instead of sending error from middleware.