Don't print the exception of readVaultFile if the file was not found

This commit is contained in:
Alexander Bakker 2022-04-10 14:46:41 +02:00
parent d4557065ea
commit cf9fbf081c

View file

@ -50,9 +50,9 @@ public class VaultManager {
try { try {
_vaultFile = VaultRepository.readVaultFile(_context); _vaultFile = VaultRepository.readVaultFile(_context);
} catch (VaultRepositoryException e) { } catch (VaultRepositoryException e) {
e.printStackTrace();
if (!(e.getCause() instanceof FileNotFoundException)) { if (!(e.getCause() instanceof FileNotFoundException)) {
_vaultFileError = e; _vaultFileError = e;
e.printStackTrace();
} }
} }