Comparing version 4.6.0 to 4.6.1
@@ -0,1 +1,8 @@ | ||
## [4.6.1](https://github.com/OptimalBits/bull/compare/v4.6.0...v4.6.1) (2022-02-21) | ||
### Bug Fixes | ||
* **sandbox:** better error reporting broken processor file ([10db479](https://github.com/OptimalBits/bull/commit/10db479731bcb8ba27c3a0e2dd4094c8e9ff1c57)) | ||
# [4.6.0](https://github.com/OptimalBits/bull/compare/v4.5.6...v4.6.0) (2022-02-21) | ||
@@ -2,0 +9,0 @@ |
@@ -67,3 +67,3 @@ 'use strict'; | ||
this.remove(child); | ||
throw new Error(err); | ||
throw err; | ||
}); | ||
@@ -119,4 +119,4 @@ }); | ||
resolve(); | ||
} else { | ||
reject(msg.value); | ||
} else if (msg.cmd === 'error') { | ||
reject(msg.error); | ||
} | ||
@@ -123,0 +123,0 @@ child.off('message', onMessageHandler); |
@@ -53,5 +53,6 @@ /** | ||
status = 'Errored'; | ||
err.message = `Error loading process file ${msg.value}. ${err.message}`; | ||
return process.send({ | ||
cmd: 'error', | ||
value: `Error loading process file ${msg.value}. ${err.toString()}` | ||
error: err | ||
}); | ||
@@ -58,0 +59,0 @@ } |
{ | ||
"name": "bull", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "Job manager", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
189610
3455