mirror of https://github.com/apache/cassandra
Fix
This commit is contained in:
parent
79af4a6e03
commit
046f959078
|
|
@ -277,6 +277,10 @@ public class Envelope
|
|||
// cause the channel to be closed.
|
||||
return new HeaderExtractionResult.Error(e, streamId, bodyLength);
|
||||
}
|
||||
catch (ErrorMessage.WrappedException e)
|
||||
{
|
||||
return new HeaderExtractionResult.Error((ProtocolException) e.getCause(), e.getStreamId(), bodyLength);
|
||||
}
|
||||
}
|
||||
|
||||
public static abstract class HeaderExtractionResult
|
||||
|
|
|
|||
Loading…
Reference in New Issue