From dff60b1dfadfa46696221645de687cac4c389f03 Mon Sep 17 00:00:00 2001 From: ChunelFeng Date: Fri, 5 Apr 2024 11:15:21 +0800 Subject: [PATCH] [feat] change checkRunResult check method, with throw execption. --- src/GraphCtrl/GraphElement/GElement.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GraphCtrl/GraphElement/GElement.cpp b/src/GraphCtrl/GraphElement/GElement.cpp index 27765c41..f96076e9 100644 --- a/src/GraphCtrl/GraphElement/GElement.cpp +++ b/src/GraphCtrl/GraphElement/GElement.cpp @@ -265,8 +265,7 @@ CStatus GElement::fatProcessor(const CFunctionType& type) { doAspect(GAspectType::FINISH_RUN, status); } - status += checkRunResult(); - CGRAPH_FUNCTION_CHECK_STATUS + CGRAPH_THROW_EXCEPTION_BY_STATUS(checkRunResult()) break; } case CFunctionType::INIT: {