@ultimat3/jobs 27.10.1 → 27.10.3

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/package.json +6 -6
  2. package/src/execute.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/jobs",
3
- "version": "27.10.1",
3
+ "version": "27.10.3",
4
4
  "description": "Durable background work: steps, transactional outbox, cron tasks, one driver interface",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,10 +33,10 @@
33
33
  "test": "bun test"
34
34
  },
35
35
  "dependencies": {
36
- "@ultimat3/core": "27.10.1",
37
- "@ultimat3/db": "27.10.1",
38
- "@ultimat3/entity": "27.10.1",
39
- "@ultimat3/schema": "27.10.1",
40
- "@ultimat3/time": "27.10.1"
36
+ "@ultimat3/core": "27.10.3",
37
+ "@ultimat3/db": "27.10.3",
38
+ "@ultimat3/entity": "27.10.3",
39
+ "@ultimat3/schema": "27.10.3",
40
+ "@ultimat3/time": "27.10.3"
41
41
  }
42
42
  }
package/src/execute.ts CHANGED
@@ -8,12 +8,12 @@
8
8
  import type { Actor, Clock, Ctx, ServiceBag } from '@ultimat3/core';
9
9
  import {
10
10
  anonymousActor,
11
+ failureStack,
11
12
  isUltimateError,
12
13
  logger,
13
14
  renderThrowable,
14
15
  reportError,
15
16
  runWithContext,
16
- stringField,
17
17
  useContext,
18
18
  withChildContext,
19
19
  } from '@ultimat3/core';
@@ -372,7 +372,7 @@ export async function executeJob(options: ExecuteJobOptions): Promise<JobExecuti
372
372
  // "do not keep" was re-claimed and re-run forever with its attempt counter climbing.
373
373
  const dropped = !decision.retry && !decision.deadLetter;
374
374
  const recorded = recordedFailure(failureForRow(error), decision);
375
- const stack = stringField(error, 'stack');
375
+ const stack = failureStack(error);
376
376
  const settled = landed(
377
377
  await driver.nack(claimed.id, {
378
378
  ...by(),