fuweng11 commented on code in PR #11099: URL: https://github.com/apache/inlong/pull/11099#discussion_r1759645508
########## inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/openapi/DataProxyController.java: ########## @@ -56,7 +56,11 @@ public class DataProxyController { @ApiOperation(value = "Get data proxy IP list by InlongGroupId") public Response<DataProxyNodeResponse> getIpList(@PathVariable String inlongGroupId, @RequestParam(required = false) String protocolType) { - return Response.success(clusterService.getDataProxyNodes(inlongGroupId, protocolType)); + try { Review Comment: There is no need to catch exceptions here, BusinessException will be handled in the ControlExceptionHandler. -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org