Skip to content

Commit

Permalink
fix: remove some task-related debug prints (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 authored Dec 18, 2024
1 parent f30aaf4 commit 36af4bd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions core/ui/src/mixins/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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
Expand Down

0 comments on commit 36af4bd

Please sign in to comment.