Rename writeThrowable to writeException

This commit is a response to upstream change
elastic/elasticsearch@96f283c195.

Original commit: elastic/x-pack-elasticsearch@2e485d4e76
This commit is contained in:
Jason Tedor 2016-07-05 14:46:50 -04:00
parent 5533470959
commit 3577389f95
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class MonitoringBulkResponse extends ActionResponse {
@Override
public void writeTo(StreamOutput out) throws IOException {
out.writeThrowable(getCause());
out.writeException(getCause());
}
/**