From b9acd16742856edcc17fa2197811e1e12b32a5d3 Mon Sep 17 00:00:00 2001 From: yiqiwang-17 <66986742+yiqiwang-17@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:39:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=82=E6=AD=A5=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E9=80=9A=E7=9F=A5=E5=A4=B1=E8=B4=A5=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20#1010158081120655039?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bklog/apps/log_search/tasks/async_export.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bklog/apps/log_search/tasks/async_export.py b/bklog/apps/log_search/tasks/async_export.py index 91f01b95a7..016202523d 100644 --- a/bklog/apps/log_search/tasks/async_export.py +++ b/bklog/apps/log_search/tasks/async_export.py @@ -131,8 +131,7 @@ def async_export( language=language, ) except Exception as e: # pylint: disable=broad-except - async_task = set_failed_status(async_task=async_task, reason=f"send msg error: {e}") - raise + logger.error(f"async_task_id:{async_task_id}, send msg error: {e}") except Exception as e: # pylint: disable=broad-except logger.exception(e)