diff options
Diffstat (limited to 'src/main/java/org/openslx/thrifthelper/ThriftManager.java')
-rw-r--r-- | src/main/java/org/openslx/thrifthelper/ThriftManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/thrifthelper/ThriftManager.java b/src/main/java/org/openslx/thrifthelper/ThriftManager.java index 7fc6aa7..2fe706d 100644 --- a/src/main/java/org/openslx/thrifthelper/ThriftManager.java +++ b/src/main/java/org/openslx/thrifthelper/ThriftManager.java @@ -207,12 +207,12 @@ public class ThriftManager<T> if ( socket != null ) { Util.safeClose( socket ); } - throw new TTransportException(); + throw new TTransportException( e ); } tsock = new TSocket( socket ); return new TBinaryProtocol( new TFramedTransport( tsock ) ); } catch ( TTransportException e ) { - LOGGER.error( "Could not open transport to thrift server at " + host + ":" + port ); + LOGGER.error( "Could not open transport to thrift server at " + host + ":" + port, e ); return null; } } |