mirror of
https://github.com/Luzifer/ots.git
synced 2025-04-19 06:55:51 -04:00
Add generic error message on decryption error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
36e9f78724
commit
ed1e5296bf
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user