Skip to content

Commit

Permalink
Update debug info.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Nov 26, 2015
1 parent a653c9f commit e095585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/service/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ServiceManager.prototype.runServices = function(server) {

return new Promise(function(resolve, reject) {
async.eachSeries(Object.keys(self.services), function(name, callback) {
var ServiceFactory = self.services[name]
var ServiceFactory = self.services[name];
self.runService(server, ServiceFactory)
.then(function(serviceInstance) {
if (serviceInstance.isRemote()) {
Expand Down Expand Up @@ -168,8 +168,8 @@ ServiceManager.prototype.runService = function(server, ServiceFactory) {

if (ann.use && framework) {
Object.keys(ann.use).forEach(function(middlewareName) {
var url = ann.use[middlewareName]
debug('[%s] use middleware "%s" with url "%s"', serviceInstance.name, middlewareName, url)
var url = ann.use[middlewareName];
debug('[%s] use middleware "%s"', serviceInstance.name, middlewareName)
var _middlewareName = framework.type + '-' + middlewareName

var middleware
Expand Down

0 comments on commit e095585

Please sign in to comment.