mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-16 13:00:41 +08:00
bug #I7TYS3 当组件出现Exception的时候,afterProcess获取不到
This commit is contained in:
@@ -28,6 +28,20 @@ public class SpringCmpAroundAspect implements CmpAroundAspect {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(NodeComponent cmp) {
|
||||
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
|
||||
ComponentScanner.cmpAroundAspect.onSuccess(cmp);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(NodeComponent cmp, Exception e) {
|
||||
if (ObjectUtil.isNotNull(ComponentScanner.cmpAroundAspect)) {
|
||||
ComponentScanner.cmpAroundAspect.onError(cmp, e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int priority() {
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user