From e0bf97ed0a1cff8eed2ed6a6a6507c8752912553 Mon Sep 17 00:00:00 2001 From: F-Node-Karlsruhe Date: Thu, 17 Nov 2022 14:50:30 +0100 Subject: [PATCH] add more details to errors --- frontend/src/views/Verify.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Verify.vue b/frontend/src/views/Verify.vue index a016784..7797c0a 100644 --- a/frontend/src/views/Verify.vue +++ b/frontend/src/views/Verify.vue @@ -219,7 +219,7 @@ export default { if (this.numberVerified == this.credentials.length) this.toast.success('All credentials could be verified!'); } catch (error) { - this.toast.error(`Something went wrong verifying the credentials!\n${error}`); + this.toast.error(`Something went wrong verifying the credentials!\n${error.response.data.error || error.response.data || error}`); } }