diff --git a/core/src/main/java/org/elasticsearch/ElasticsearchException.java b/core/src/main/java/org/elasticsearch/ElasticsearchException.java index 4f478057fa0..3e54d499db3 100644 --- a/core/src/main/java/org/elasticsearch/ElasticsearchException.java +++ b/core/src/main/java/org/elasticsearch/ElasticsearchException.java @@ -596,7 +596,8 @@ public class ElasticsearchException extends RuntimeException implements ToXConte ResourceNotFoundException.class, IndexNotFoundException.class, ShardNotFoundException.class, - NotSerializableExceptionWrapper.class + NotSerializableExceptionWrapper.class, + org.elasticsearch.discovery.zen.publish.PublishClusterStateAction.FailedToCommitException.class }; Map> mapping = new HashMap<>(exceptions.length); for (Class e : exceptions) {