From 3577389f951b1f1024bbe03fcda4e322fe7c4980 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 5 Jul 2016 14:46:50 -0400 Subject: [PATCH] Rename writeThrowable to writeException This commit is a response to upstream change elastic/elasticsearch@96f283c195ce7275ae9233d4156126ba325c05ce. Original commit: elastic/x-pack-elasticsearch@2e485d4e76597ec5e6a8ff1611de9971c8e91691 --- .../xpack/monitoring/action/MonitoringBulkResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponse.java b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponse.java index b448d19a788..88b422e109d 100644 --- a/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponse.java +++ b/elasticsearch/x-pack/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/action/MonitoringBulkResponse.java @@ -89,7 +89,7 @@ public class MonitoringBulkResponse extends ActionResponse { @Override public void writeTo(StreamOutput out) throws IOException { - out.writeThrowable(getCause()); + out.writeException(getCause()); } /**