gosonzhang commented on code in PR #7482:
URL: https://github.com/apache/inlong/pull/7482#discussion_r1122690995
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/queue/StreamQueueResourceListener.java:
##########
@@ -83,6 +85,9 @@ public ListenerResult listen(WorkflowContext context) throws
WorkflowListenerExc
log.error(msg);
throw new WorkflowListenerException(msg);
}
+ GroupStatus groupStatus = GroupStatus.forCode(groupInfo.getStatus());
+ Preconditions.expectTrue(GroupStatus.CONFIG_FAILED != groupStatus,
Review Comment:
An error code needs to be carried when an exception is thrown
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]