From 36af4bdf0afb84ce374eb604733808f51cac84c2 Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Wed, 18 Dec 2024 17:16:46 +0100 Subject: [PATCH] fix: remove some task-related debug prints (#777) Refs NethServer/dev#7224 --- core/ui/src/mixins/notification.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/ui/src/mixins/notification.js b/core/ui/src/mixins/notification.js index 6200ad97d..4e7d10ab9 100644 --- a/core/ui/src/mixins/notification.js +++ b/core/ui/src/mixins/notification.js @@ -207,8 +207,6 @@ export default { const taskContext = contextResponse.data.data.context; let taskResult; - console.debug(taskPath, taskContext, payload); - if (["completed", "aborted", "validation-failed"].includes(taskStatus)) { // get output and error const [err, statusResponse] = await to(this.getTaskStatus(taskPath)); @@ -225,7 +223,13 @@ export default { taskResult = statusResponse.data.data; - console.debug("taskResult", taskContext.action, taskResult); + console.debug( + taskContext.action, + "context:", + taskContext, + "result:", + taskResult + ); if (taskStatus === "validation-failed") { // show validation errors