@joystick.js/node-canary 0.0.0-canary.295 → 0.0.0-canary.297

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.
@@ -1,4 +1,3 @@
1
- import dayjs from "dayjs";
2
1
  import fs from "fs";
3
2
  import os from "os";
4
3
  import generateId from "../../lib/generateId";
@@ -143,6 +142,10 @@ class Queue {
143
142
  return this.db.setJobCompleted(jobId);
144
143
  }
145
144
  _handleJobFailed(nextJob = {}, job_definition = {}, error = "") {
145
+ console.log({
146
+ nextJob,
147
+ job_definition
148
+ });
146
149
  if (job_definition?.requeueOnFailure) {
147
150
  return this._handleRequeueJob(nextJob?._id, timestamps.get_future_time("seconds", 10));
148
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.295",
3
+ "version": "0.0.0-canary.297",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",