Skip to content

Commit

Permalink
fix(pipelines): show job queue opts with the --verbose flag
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Oct 12, 2022
1 parent 4abb822 commit f47babe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/queues/showStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const showQueueStatus = async function (queueName, verbose) {
console.log(` name: ${job.name}`);
const data = JSON.stringify(job.data, undefined, 0);
if (job.data) console.log(` data: ${data}`);
const opts = JSON.stringify(job.opts, undefined, 0);
if (job.opts) console.log(` opts: ${opts}`);
}
}
}
Expand Down

0 comments on commit f47babe

Please sign in to comment.