Here: https://github.com/fac-u/autocompleter/blob/master/public/request.js#L13
It's often better to use an Error object to encapsulate your error, since it will give you more structured information about what went wrong. In particular, it will give you the stack-trace.
cb(new Error('There was a problem...');