From b2f6e84adc28669fd6ddf6f0692d0a03136def94 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Sun, 8 Sep 2024 14:51:39 +0800 Subject: [PATCH] =?UTF-8?q?typo:=20=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E6=97=A5=E5=BF=97=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/plugin/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/plugin/manager.py b/pkg/plugin/manager.py index 13a114a..4e0784a 100644 --- a/pkg/plugin/manager.py +++ b/pkg/plugin/manager.py @@ -140,7 +140,7 @@ class PluginManager: for plugin in self.plugins: if plugin.enabled: if event.__class__ in plugin.event_handlers: - self.ap.logger.debug(f'插件 {plugin.plugin_name} 触发事件 {event.__class__.__name__}') + self.ap.logger.debug(f'插件 {plugin.plugin_name} 处理事件 {event.__class__.__name__}') is_prevented_default_before_call = ctx.is_prevented_default() @@ -150,7 +150,7 @@ class PluginManager: ctx ) except Exception as e: - self.ap.logger.error(f'插件 {plugin.plugin_name} 触发事件 {event.__class__.__name__} 时发生错误: {e}') + self.ap.logger.error(f'插件 {plugin.plugin_name} 处理事件 {event.__class__.__name__} 时发生错误: {e}') self.ap.logger.debug(f"Traceback: {traceback.format_exc()}") emitted_plugins.append(plugin)