Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/framework/express.js
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit ffc1cd4

Please sign in to comment.