function doneWrap(err, res) {
        if (err) {
            err = {task: name, error: err};
        }
        done(err, res);
    }
// Wrap error with task name and possibly other diagnostics
Wrap error with task name and possibly other diagnostics
Wrap error with task name and possibly other diagnostics
function doneWrap(err, res) {
        if (err) {
            err = {task: name, error: err};
        }
        done(err, res);
    }
function doneWrap ( err , res ) { if ( err ) { err = { task : name , error : err } ; } done ( err , res ) ; }
Wrap error with task name and possibly other diagnostics
Wrap error with task name and possibly other diagnostics