@joystick.js/node-canary 0.0.0-canary.296 → 0.0.0-canary.298

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,8 +142,12 @@ class Queue {
142
142
  return this.db.setJobCompleted(jobId);
143
143
  }
144
144
  _handleJobFailed(nextJob = {}, job_definition = {}, error = "") {
145
+ console.log({
146
+ nextJob,
147
+ job_definition
148
+ });
145
149
  if (job_definition?.requeueOnFailure) {
146
- return this._handleRequeueJob(nextJob?._id, timestamps.get_future_time("seconds", 10));
150
+ return this._handleRequeueJob(nextJob, timestamps.get_future_time("seconds", 10));
147
151
  }
148
152
  return this.db.setJobFailed(nextJob?._id, error);
149
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.296",
3
+ "version": "0.0.0-canary.298",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",