diff --git a/src/views/ops/Job/QuickJob.vue b/src/views/ops/Job/QuickJob.vue index 227b555f7..2d053c713 100644 --- a/src/views/ops/Job/QuickJob.vue +++ b/src/views/ops/Job/QuickJob.vue @@ -456,6 +456,9 @@ export default { StopJob({ task_id: this.currentTaskId }).then(() => { this.xterm.write(this.wrapperError('Task has been canceled')) this.getTaskStatus() + }).catch((e) => { + console.log(e) + }).finally(() => { this.setStopBtn() }) },