fuweng11 commented on code in PR #10602:
URL: https://github.com/apache/inlong/pull/10602#discussion_r1673601811
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/stream/TemplateServiceImpl.java:
##########
@@ -116,7 +116,7 @@ public TemplateInfo get(String templateName, String
operator) {
TemplateEntity templateEntity =
templateEntityMapper.selectByName(templateName);
if (templateEntity == null) {
LOGGER.error("inlong template not found by template name={}",
templateName);
- throw new BusinessException(ErrorCodeEnum.TEMPLATE_INFO_INCORRECT);
+ throw new BusinessException(ErrorCodeEnum.TENANT_NOT_EXIST);
Review Comment:
Fixed.
--
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]