liubao68 commented on code in PR #4095:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/4095#discussion_r1416734953


##########
transports/transport-highway/src/main/java/org/apache/servicecomb/transport/highway/HighwayClient.java:
##########
@@ -63,7 +64,10 @@ public void init(Vertx vertx) throws Exception {
 
     DeploymentOptions deployOptions = 
VertxUtils.createClientDeployOptions(clientMgr,
         HighwayConfig.getClientThreadCount());
-    VertxUtils.blockDeploy(vertx, ClientVerticle.class, deployOptions);
+    Map<String, String> result = VertxUtils.blockDeploy(vertx, 
ClientVerticle.class, deployOptions);
+    if (!Boolean.parseBoolean(result.get("code"))) {
+      throw new Exception(result.get("message"));

Review Comment:
   throw new IllegalStageException



-- 
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]

Reply via email to