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

pull/908/head
Alexander Bakker 3 years ago
parent d4557065ea
commit cf9fbf081c

@ -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();
} }
} }

Loading…
Cancel
Save