Skip to content

Instantly share code, notes, and snippets.

@rosskukulinski
Created March 7, 2014 23:03
Show Gist options
  • Save rosskukulinski/9421995 to your computer and use it in GitHub Desktop.
Save rosskukulinski/9421995 to your computer and use it in GitHub Desktop.
Oh kue.js
// Error handler, currently does nothing. TODO: emit non "error"
Worker.prototype.error = function(err, job)
{
console.error(err.stack || err.message);
return this;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment