diff --git a/src/stores/tasks.ts b/src/stores/tasks.ts index 958b7578..9485403f 100644 --- a/src/stores/tasks.ts +++ b/src/stores/tasks.ts @@ -383,12 +383,12 @@ export const useTaskStore = defineStore('task', { task: createdTask, parsedLabels: parsedTask.labels, }) + return result } catch (e) { throw e } finally { cancel() } - return result }, }, })