improve stack trace when failing to send a transaction request

This commit is contained in:
kimchy 2010-08-27 13:52:58 +03:00
parent e5b041c8ef
commit e85c47db74
1 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,9 @@ public class SendRequestTransportException extends RemoteTransportException {
public SendRequestTransportException(DiscoveryNode node, String action, Throwable cause) {
super(node == null ? null : node.name(), node == null ? null : node.address(), action, cause);
fillStack();
}
@Override public Throwable fillInStackTrace() {
return super.fillStack();
}
}