Skip to content

Instantly share code, notes, and snippets.

@rosskukulinski
Created March 7, 2014 23:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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