Additional logging

This commit is contained in:
Bryan Ashby 2017-09-08 23:36:26 -06:00
parent 1e27291869
commit 42d6190802
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ exports.getModule = class WebServerModule extends ServerModule {
const routeKey = route.getRouteKey();
if(routeKey in this.routes) {
Log.warn( { route : route }, 'Cannot add route: duplicate method/path combination exists' );
Log.warn( { route : route, routeKey : routeKey }, 'Cannot add route: duplicate method/path combination exists' );
return false;
}