log secret storage error as well

This commit is contained in:
Bruno Windels 2020-09-18 12:12:19 +02:00
parent cb32f4201e
commit 2de406afa0

View file

@ -144,6 +144,7 @@ export class SessionStatusViewModel extends ViewModel {
try { try {
await this._session.enableSecretStorage("recoverykey", passphrase); await this._session.enableSecretStorage("recoverykey", passphrase);
} catch (err) { } catch (err) {
console.error(err);
alert(`Could not set up secret storage: ${err.message}`); alert(`Could not set up secret storage: ${err.message}`);
} }
} }