From afe5ee9abbc26c22230946d047daf3b31cd1588d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 22 Aug 2023 11:39:03 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=80=9A=E7=9F=A5=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E5=A4=9A=E6=B8=A0=E9=81=93=E5=8F=91=E9=80=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chain/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/__init__.py b/app/chain/__init__.py index 58111cd9..5551d336 100644 --- a/app/chain/__init__.py +++ b/app/chain/__init__.py @@ -98,7 +98,7 @@ class ChainBase(metaclass=ABCMeta): result.extend(temp) else: # 返回结果非列表也非空,则继续执行下一模块 - continue + result = func(*args, **kwargs) except Exception as err: logger.error(f"运行模块 {method} 出错:{module.__class__.__name__} - {err}\n{traceback.print_exc()}") return result