cron 2.0.0 → 2.1.0

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.
Files changed (2) hide show
  1. package/lib/time.js +2 -2
  2. package/package.json +1 -1
package/lib/time.js CHANGED
@@ -266,8 +266,8 @@ function CronTime(luxon) {
266
266
  // hard stop if the current date is after the expected execution
267
267
  if (Date.now() > timeout) {
268
268
  throw new Error(
269
- `Something went wrong. cron reached maximum iterations.
270
- Please open an issue (https://github.com/kelektiv/node-cron/issues/new) and provide the following string
269
+ `Something went wrong. It took over five seconds to find the next execution time for the cron job.
270
+ Please refer to the canonical issue (https://github.com/kelektiv/node-cron/issues/467) and provide the following string if you would like to help debug:
271
271
  Time Zone: ${zone || '""'} - Cron String: ${this} - UTC offset: ${date.format(
272
272
  'Z'
273
273
  )} - current Date: ${luxon.DateTime.local().toString()}`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cron",
3
3
  "description": "Cron jobs for your node",
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
5
5
  "author": "Nick Campbell <nicholas.j.campbell@gmail.com> (http://github.com/ncb000gt)",
6
6
  "bugs": {
7
7
  "url": "http://github.com/kelektiv/node-cron/issues"