diff --git a/lib/web/framework/express.js b/lib/web/framework/express.js index 2d26881..a7f4190 100644 --- a/lib/web/framework/express.js +++ b/lib/web/framework/express.js @@ -212,7 +212,7 @@ ExpressAdapter.prototype.useMiddleware = function(url, middleware, service) { var _route = route[routeName] // It's a router based middleware if we have exactly same url defined in route if (_route.path === link.path) { - debug('[%s] attache router middleware directly at path "%s"', service.name, link.path) + debug('[%s] attache "%s" router middleware directly at path "%s"', service.name, _route.method, link.path) app[_route.method](link.path, _middleware) routeMounted = true }