Skip to content

Commit

Permalink
Add http method in debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Nov 26, 2015
1 parent d7166ee commit ffc1cd4
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
Expand Up @@ -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
}
Expand Down

0 comments on commit ffc1cd4

Please sign in to comment.