From a6a993ff084a8226d44b700215d32146ed87c495 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sat, 24 Jul 2010 18:48:28 +0300 Subject: [PATCH] fix ignored exception --- .../index/gateway/blobstore/BlobStoreIndexShardGateway.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/gateway/blobstore/BlobStoreIndexShardGateway.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/gateway/blobstore/BlobStoreIndexShardGateway.java index e417507c81f..6e4e638e882 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/gateway/blobstore/BlobStoreIndexShardGateway.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/gateway/blobstore/BlobStoreIndexShardGateway.java @@ -324,7 +324,7 @@ public abstract class BlobStoreIndexShardGateway extends AbstractIndexShardCompo if (snapshot.newTranslogCreated()) { try { translogContainer.deleteBlob("translog-" + snapshot.lastTranslogId()); - } catch (IOException e) { + } catch (Exception e) { // ignore } }