@openfn/engine-multi
Advanced tools
Comparing version 1.1.0 to 1.1.1
# engine-multi | ||
## 1.1.1 | ||
### Patch Changes | ||
- 2fde0ad: Slightly better error reporting for exceptions | ||
- Updated dependencies [2fde0ad] | ||
- @openfn/logger@1.0.1 | ||
- @openfn/compiler@0.0.41 | ||
- @openfn/lexicon@1.0.0 | ||
- @openfn/runtime@1.0.1 | ||
## 1.1.0 | ||
@@ -4,0 +14,0 @@ |
@@ -63,2 +63,3 @@ // src/api.ts | ||
this.message = original.message; | ||
this.stack = original.stack; | ||
} | ||
@@ -771,3 +772,3 @@ }; | ||
name: "@openfn/engine-multi", | ||
version: "1.1.0", | ||
version: "1.1.1", | ||
description: "Multi-process runtime engine", | ||
@@ -774,0 +775,0 @@ main: "dist/index.js", |
@@ -82,2 +82,3 @@ // src/worker/thread/run.ts | ||
this.message = original.message; | ||
this.stack = original.stack; | ||
} | ||
@@ -156,3 +157,4 @@ }; | ||
// Map the error out of the thread in a serializable format | ||
error: serialize_error_default(err) | ||
error: serialize_error_default(err), | ||
stack: err?.stack | ||
// TODO job id maybe | ||
@@ -167,2 +169,10 @@ }); | ||
process2.on("uncaughtException", async (err) => { | ||
console.debug(`Uncaught exception in worker thread (workflow ${workflowId} )`); | ||
console.debug(err); | ||
try { | ||
console.error(`Uncaught exception in worker thread (workflow ${workflowId} )`); | ||
console.error(err); | ||
} catch (e2) { | ||
console.error(`Uncaught exception in worker thread`); | ||
} | ||
const e = new ExecutionError(err); | ||
@@ -169,0 +179,0 @@ e.severity = "crash"; |
{ | ||
"name": "@openfn/engine-multi", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Multi-process runtime engine", | ||
@@ -12,6 +12,6 @@ "main": "dist/index.js", | ||
"fast-safe-stringify": "^2.1.1", | ||
"@openfn/compiler": "0.0.40", | ||
"@openfn/compiler": "0.0.41", | ||
"@openfn/lexicon": "^1.0.0", | ||
"@openfn/runtime": "1.1.0", | ||
"@openfn/logger": "1.0.0" | ||
"@openfn/logger": "1.0.1", | ||
"@openfn/runtime": "1.1.1" | ||
}, | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46604
1311
+ Added@openfn/compiler@0.0.41(transitive)
+ Added@openfn/logger@1.0.1(transitive)
+ Added@openfn/runtime@1.1.1(transitive)
- Removed@openfn/compiler@0.0.40(transitive)
- Removed@openfn/logger@1.0.0(transitive)
- Removed@openfn/runtime@1.1.0(transitive)
Updated@openfn/compiler@0.0.41
Updated@openfn/logger@1.0.1
Updated@openfn/runtime@1.1.1