Dijiwan/doggybag — pull request #14 by naholyr (2012-06-13 09:37:28+00:00)
Title: Make the original result available in case of error

Even when you want to return an error, you could still want to attach a partial result. This PR makes it possible.

* Agent: in `run`, call `done(myError, myPartialResult)`
* Scheduler: use `result.data.data.originalResult` (ouf) to access this data