You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eventmesh.apache.org by "mytang0 (via GitHub)" <gi...@apache.org> on 2023/03/29 01:55:15 UTC

[GitHub] [eventmesh] mytang0 commented on a diff in pull request #3544: [fix] Fix CI issues

mytang0 commented on code in PR #3544:
URL: https://github.com/apache/eventmesh/pull/3544#discussion_r1151314266


##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/GrpcClientHandler.java:
##########
@@ -103,7 +103,7 @@ void delete(HttpExchange httpExchange) throws IOException {
             Error error = new Error(e.toString(), stackTrace);
             String result = JsonUtils.toJSONString(error);
             httpExchange.sendResponseHeaders(500, result.getBytes().length);
-            out.write(result.getBytes());
+            log.error(result);

Review Comment:
   After the replacement, does result.getBytes().length not need to be calculated?



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

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


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