Skip to content

Commit

Permalink
[feat] change checkRunResult check method, with throw execption.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunelFeng committed Apr 5, 2024
1 parent 6c22238 commit dff60b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/GraphCtrl/GraphElement/GElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit dff60b1

Please sign in to comment.