ee-soa-service
Advanced tools
Comparing version 0.2.23 to 0.2.25
@@ -194,4 +194,16 @@ | ||
if (debugService) log.info('[DefaultService] incoming request on '+[this.name, req.getCollection(), req.getActionName()].join('.')+' ...'); | ||
if (debugService) { | ||
log.highlight('[DefaultService] incoming request on '+[this.name, req.getCollection(), req.getActionName()].join('.')+' ...'); | ||
var cb = callback; | ||
Callback = function(err) { | ||
if (err) log.warn('[DefaultService] '+[this.name, req.getCollection(), req.getActionName()].join('.')+' - the request resulted in an error: '+err); | ||
else log.highlight('[DefaultService] '+[this.name, req.getCollection(), req.getActionName()].join('.')+' - the response is beeing sent!'); | ||
cb.apply(null, Array.prototype.slice.call(arguments, 0)) | ||
}.bind(this); | ||
} | ||
if(this._hasController(collection)) { | ||
@@ -198,0 +210,0 @@ var action = req.getActionName() || req.getAction(); |
@@ -5,3 +5,3 @@ { | ||
, "keywords" : ["ee", "soa", "service"] | ||
, "version" : "0.2.23" | ||
, "version" : "0.2.25" | ||
, "author": { | ||
@@ -8,0 +8,0 @@ "name" : "Tobias Kneubuehler" |
80610
1358