mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
log secret storage error as well
This commit is contained in:
parent
cb32f4201e
commit
2de406afa0
@ -144,6 +144,7 @@ export class SessionStatusViewModel extends ViewModel {
|
||||
try {
|
||||
await this._session.enableSecretStorage("recoverykey", passphrase);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
alert(`Could not set up secret storage: ${err.message}`);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user