You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by "Alonexc (via GitHub)" <gi...@apache.org> on 2023/02/27 03:02:16 UTC

[GitHub] [incubator-eventmesh] Alonexc commented on a diff in pull request #3262: Issue #2971

Alonexc commented on code in PR #3262:
URL: https://github.com/apache/incubator-eventmesh/pull/3262#discussion_r1118237451


##########
eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/http/consumer/EventMeshHttpConsumer.java:
##########
@@ -99,7 +99,7 @@ public void subscribe(final List<SubscriptionItem> topicList, final String subsc
             final String subRes = HttpUtils.post(httpClient, target, subscribeParam);
             final EventMeshRetObj ret = JsonUtils.parseObject(subRes, EventMeshRetObj.class);
             if (ret.getRetCode() != EventMeshRetCode.SUCCESS.getRetCode()) {
-                throw new EventMeshException(ret.getRetCode(), ret.getRetMsg());

Review Comment:
   Sorry, the number of issue description lines may be incorrect due to the code update. The places to be changed here are as follows:
   ![image](https://user-images.githubusercontent.com/91315508/221463072-646adffd-5650-455e-a397-374306107446.png)
   ![image](https://user-images.githubusercontent.com/91315508/221463103-6f455e22-6f3b-407b-82bd-25781f7feea4.png)
   ![image](https://user-images.githubusercontent.com/91315508/221463147-634ce6a3-6549-443b-b201-54c3dd6920b8.png)
   
   
   
   



-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org