diff --git a/src/JobBroker.ts b/src/JobBroker.ts index 23e5227..ff22089 100644 --- a/src/JobBroker.ts +++ b/src/JobBroker.ts @@ -107,7 +107,7 @@ class JobBroker { const result = handler(JSON.parse(parameter.parameter)); if (!result) { - throw new Error("Abnormal job return value."); + throw new Error(`Abnormal job return value. parameter: ${parameter.parameter}, result: (${typeof result}) "${result}"`); } parameter.state = "end";