From ac845afc1c94c8e4a05a7bce8a2f210589fa6180 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 25 Nov 2020 03:40:39 +0000 Subject: [PATCH] fix response --- src/components/AgentTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AgentTable.vue b/src/components/AgentTable.vue index 54df130..e0555f8 100644 --- a/src/components/AgentTable.vue +++ b/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