From 26f54e7be4688e3ffcf6f7fc94c3ad6876fd8467 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 27 Mar 2026 11:50:36 +0800 Subject: [PATCH] bugfix --- wwwroot/uptask_callback.dspy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wwwroot/uptask_callback.dspy b/wwwroot/uptask_callback.dspy index 6f8f3b7..cfeda43 100644 --- a/wwwroot/uptask_callback.dspy +++ b/wwwroot/uptask_callback.dspy @@ -2,5 +2,8 @@ debug(f'{params_kw=}') if parmas_kw.task_id is None: e = Exception(f'need a task_id') raise e -resp = await uptask_feedback(task_id, params_kw) +try: + resp = await uptask_feedback(task_id, params_kw) +except Exception as e: + exception(f'{e}') return json_resposne({'text': 'ok'})