|
|
@ -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 }) |
|
|
|
}]) |
|
|
|
}]) |
|
|
|