Commit b294ef7b authored by yann300's avatar yann300

fix tracemanager

parent 1cadc1c0
...@@ -285,7 +285,7 @@ TraceManager.prototype.waterfall = function (calls, stepindex, cb) { ...@@ -285,7 +285,7 @@ TraceManager.prototype.waterfall = function (calls, stepindex, cb) {
var ret = [] var ret = []
var retError = null var retError = null
for (var call in calls) { for (var call in calls) {
call.apply(this, [stepindex, function (error, result) { calls[call].apply(this, [stepindex, function (error, result) {
retError = error retError = error
ret.push({ error: error, value: result }) ret.push({ error: error, value: result })
}]) }])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment