diff --git a/src/main/java/neatlogic/module/autoexec/process/stephandler/component/CreateJobProcessComponent.java b/src/main/java/neatlogic/module/autoexec/process/stephandler/component/CreateJobProcessComponent.java index 744ef48ff37837c28e189b74a485dc71abf291ef..3993bd35a95e266d567652763cd8b2211e93200f 100644 --- a/src/main/java/neatlogic/module/autoexec/process/stephandler/component/CreateJobProcessComponent.java +++ b/src/main/java/neatlogic/module/autoexec/process/stephandler/component/CreateJobProcessComponent.java @@ -263,7 +263,7 @@ public class CreateJobProcessComponent extends ProcessStepHandlerBase { } } catch (Exception e) { logger.error(e.getMessage(), e); - throw new ProcessTaskException(e.getMessage()); + throw new ProcessTaskException(e); } return 1; } diff --git a/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java b/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java index b0128ba2577019c7333833aec67a893184728fdd..94a24c7baf41fd5af3b98cddc70036be8729fca5 100644 --- a/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java +++ b/src/main/java/neatlogic/module/autoexec/stephandler/component/AutoexecProcessComponent.java @@ -305,7 +305,7 @@ public class AutoexecProcessComponent extends ProcessStepHandlerBase { } } catch (Exception e) { logger.error(e.getMessage(), e); - throw new ProcessTaskException(e.getMessage()); + throw new ProcessTaskException(e); } return 1; }