Permalink
Browse files

some logging

  • Loading branch information...
1 parent 0833a30 commit 38c2754559327bcf321e354a1ad33358fb93a9f5 @pgte committed Sep 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/pipeline.js
View
1 lib/pipeline.js
@@ -40,6 +40,7 @@ Pipeline.prototype._jobName = function(state) {
Pipeline.prototype._createJob = function(stateDoc, doc, done) {
var self = this;
if (! stateDoc.state) { return done(new Error('Undefined state on state doc: ' + JSON.stringify(stateDoc))); }
+ this.verbose('Creating job for state ' + JSON.stringify(stateDoc.state));
return this.queue.create(this._jobName(stateDoc.state), stateDoc)
.priority(this.priority)
.attempts(this.attempts)

0 comments on commit 38c2754

Please sign in to comment.