forgot one place in commit fa35b63 [ci skip]

This commit is contained in:
Sebastian Stenzel
2016-01-16 01:17:15 +01:00
parent fd98f0a69f
commit 9278426131

View File

@@ -120,7 +120,7 @@ class CryptoWritableFile implements WritableFile {
throw new IllegalStateException("Unexpected exception while waiting for encrypted file to be written", e);
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new UncheckedIOException(new InterruptedIOException("Task interrupted while flushing encrypted content"));
} finally {
executorService.shutdownNow();
file.close();