Add generic error message on decryption error

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-03-19 15:10:19 +01:00
parent 04e405e6e8
commit ea0cccf683
Signed by: luzifer
GPG Key ID: D91C3E91E4CAD6F5

View File

@ -276,6 +276,10 @@ export default {
.then(secret => {
this.secret = secret
})
.catch(() => {
this.error = this.$t('alert-something-went-wrong')
this.showError = true
})
})
.catch(err => {
switch (err.response.status) {