remove vaults that can no longer be read [ci skip]

This commit is contained in:
Sebastian Stenzel
2016-02-29 13:57:29 +01:00
parent 020597c42d
commit be7b875be7

View File

@@ -193,7 +193,11 @@ public class Vault implements Serializable, CryptoFileSystemDelegate {
}
public boolean isValidVaultDirectory() {
return cryptoFileSystemFactory.isValidVaultStructure(getNioFileSystem());
try {
return cryptoFileSystemFactory.isValidVaultStructure(getNioFileSystem());
} catch (UncheckedIOException e) {
return false;
}
}
public ObjectProperty<Boolean> unlockedProperty() {