Fix thrift_hsha_test dtest on Windows

Patch by pmotta; reviewed by jmckenzie for CASSANDRA-10076
This commit is contained in:
Paulo Motta 2015-08-21 14:51:29 -04:00 committed by Joshua McKenzie
parent ab6287612e
commit dd19a7fcfd
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ public class OutboundTcpConnection extends Thread
catch (Exception e)
{
disconnect();
if (e instanceof IOException)
if (e instanceof IOException || e.getCause() instanceof IOException)
{
if (logger.isDebugEnabled())
logger.debug("error writing to {}", poolReference.endPoint(), e);