handle any exception when failing to snapshot

This commit is contained in:
kimchy 2010-11-09 15:34:43 +02:00
parent 8266315f51
commit a0f4359ffa
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public class FsTranslog extends AbstractIndexShardComponent implements Translog
newSnapshot.seekForward(snapshot.position());
return newSnapshot;
}
} catch (IOException e) {
} catch (Exception e) {
throw new TranslogException(shardId, "Failed to snapshot", e);
}
}