lidavidm commented on code in PR #37674:
URL: https://github.com/apache/arrow/pull/37674#discussion_r1323072311
##########
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:
I think IOError makes more sense?
--
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]