diff --git a/src/views/dashboard/related/network-profiling/components/Tasks.vue b/src/views/dashboard/related/network-profiling/components/Tasks.vue index 71b5e752..52508ae0 100644 --- a/src/views/dashboard/related/network-profiling/components/Tasks.vue +++ b/src/views/dashboard/related/network-profiling/components/Tasks.vue @@ -187,6 +187,10 @@ async function saveNewTask( ElMessage.error(res.errors); return; } + if (!res.data.createEBPFNetworkProfiling.status) { + ElMessage.error(res.data.createEBPFNetworkProfiling.errorReason); + return; + } await fetchTasks(); } function enableInterval() {