mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
THRIFT-4040 Add real cause of TNonblockingServerSocket error to exception
Client: Java Patch: Dmitry Roenko <savraz@gmail.com> This closes #1116
This commit is contained in:
parent
330b3f814a
commit
55f976e0de
@ -93,7 +93,7 @@ public class TNonblockingServerSocket extends TNonblockingServerTransport {
|
||||
serverSocket_.bind(args.bindAddr, args.backlog);
|
||||
} catch (IOException ioe) {
|
||||
serverSocket_ = null;
|
||||
throw new TTransportException("Could not create ServerSocket on address " + args.bindAddr.toString() + ".");
|
||||
throw new TTransportException("Could not create ServerSocket on address " + args.bindAddr.toString() + ".", ioe);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user