Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
Delete multichunk from cache if decryption failed. Related to #59
Browse files Browse the repository at this point in the history
  • Loading branch information
binwiederhier committed Sep 10, 2014
1 parent daacbad commit 2d6cb9f
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -90,6 +90,8 @@ public void downloadAndDecryptMultiChunks(Set<MultiChunkId> unknownMultiChunkIds

logger.log(Level.FINE, " -> FAILED: Decryption/extraction of multichunk failed, deleting " + multiChunkId + " ...");
localDecryptedMultiChunkFile.delete();

throw e;
}
finally {
logger.log(Level.FINE, " + Locally deleting multichunk " + multiChunkId + " ...");
Expand Down

0 comments on commit 2d6cb9f

Please sign in to comment.