You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "romankarlstetter (via GitHub)" <gi...@apache.org> on 2023/09/13 06:33:46 UTC

[GitHub] [arrow] romankarlstetter commented on a diff in pull request #37674: GH-37673: [C++][FlightRPC] Improve error message if binding port fails

romankarlstetter commented on code in PR #37674:
URL: https://github.com/apache/arrow/pull/37674#discussion_r1324034444


##########
cpp/src/arrow/flight/transport/grpc/grpc_server.cc:
##########
@@ -616,6 +616,10 @@ class GrpcServerTransport : public internal::ServerTransport {
 
     grpc_server_ = builder.BuildAndStart();
     if (!grpc_server_) {
+      if (port == 0) {
+        return Status::Invalid("Server did not start properly. Unable to bind to port ",

Review Comment:
   `IOError` is also fine for me



-- 
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: github-unsubscribe@arrow.apache.org

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