Skip to content

Commit 36af4bd

Browse files
authored
fix: remove some task-related debug prints (#777)
Refs NethServer/dev#7224
1 parent f30aaf4 commit 36af4bd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

core/ui/src/mixins/notification.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ export default {
207207
const taskContext = contextResponse.data.data.context;
208208
let taskResult;
209209

210-
console.debug(taskPath, taskContext, payload);
211-
212210
if (["completed", "aborted", "validation-failed"].includes(taskStatus)) {
213211
// get output and error
214212
const [err, statusResponse] = await to(this.getTaskStatus(taskPath));
@@ -225,7 +223,13 @@ export default {
225223

226224
taskResult = statusResponse.data.data;
227225

228-
console.debug("taskResult", taskContext.action, taskResult);
226+
console.debug(
227+
taskContext.action,
228+
"context:",
229+
taskContext,
230+
"result:",
231+
taskResult
232+
);
229233

230234
if (taskStatus === "validation-failed") {
231235
// show validation errors

0 commit comments

Comments
 (0)