From e902f6321198ac6b389d4a06398f0ef6c76aa604 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 25 Nov 2020 03:40:39 +0000 Subject: [PATCH] fix response --- web/src/components/AgentTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/AgentTable.vue b/web/src/components/AgentTable.vue index 54df1307..e0555f86 100644 --- a/web/src/components/AgentTable.vue +++ b/web/src/components/AgentTable.vue @@ -478,7 +478,7 @@ export default { axios .get(`/checks/runchecks/${pk}/`) .then(r => this.notifySuccess(`Checks will now be re-run on ${r.data}`)) - .catch(e => this.notifyError("Something went wrong")); + .catch(e => this.notifyError(e.response.data)); }, removeAgent(pk, name) { this.$q