Skip to content

Commit

Permalink
refactor(snapshot): use specific exception
Browse files Browse the repository at this point in the history
  • Loading branch information
deepthidevaki committed Aug 22, 2022
1 parent 6064efd commit 1c6d09d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private void persistInternal(final CompletableActorFuture<PersistedSnapshot> fut
}

private void writeMetadataAndUpdateChecksum(final FileBasedSnapshotMetadata metadata)
throws Exception {
throws IOException {
final var metadataPath = directory.resolve(FileBasedSnapshotStore.METADATA_FILE_NAME);
// Write metadata file along with snapshot files
try (final var channel =
Expand Down

0 comments on commit 1c6d09d

Please sign in to comment.