Complete exception handling

This commit is contained in:
Bubka
2020-11-05 22:54:06 +01:00
parent 544e916d60
commit 67fa859b2a
2 changed files with 9 additions and 3 deletions

View File

@ -136,6 +136,9 @@
}, 1000);
})
.catch(error => {
this.$router.push({ name: 'genericError', params: { err: error.response } });
});
},
getHOTP: function() {
@ -148,6 +151,9 @@
this.next_uri = response.data.nextUri
})
.catch(error => {
this.$router.push({ name: 'genericError', params: { err: error.response } });
});
},
clearOTP: function() {