414 Star 4K Fork 944

GVPdromara / liteFlow

 / 详情

优化FlowExecutor中调用方法

Done
member
Opened this issue  
2021-04-09 11:32

目前2.5.0版本FlowExecutor中的execute方法会把异常信息包装在返回类LiteflowResponse中,但方法本身又抛出异常。导致调用者需要处理两处异常,一处是方法本身的异常,一处是返回对象内异常,如:
输入图片说明
需优化此方法 不返回异常,异常信息包装在返回对象中,同时新增invoke 方法返回为Slot实现类对象,支持抛出异常。

Comments (0)

zendwang created任务
zendwang set branch to v2.5.0
zendwang set related repository to dromara/liteFlow
zendwang set assignee to zendwang
zendwang added
 
enhancement
label
zendwang changed issue state from 待办的 to 进行中
铂赛东 changed branch from v2.5.0 to v2.5.1
铂赛东 changed issue state from 进行中 to 已完成
Expand operation logs

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
63756 wangzhenxian 1616491358
Java
1
https://gitee.com/dromara/liteFlow.git
git@gitee.com:dromara/liteFlow.git
dromara
liteFlow
liteFlow

Search