catch thread exception

This commit is contained in:
lanvent
2023-03-12 22:49:07 +08:00
parent 8847b5b674
commit 475ada22e7
4 changed files with 16 additions and 11 deletions

View File

@@ -10,7 +10,6 @@ class Hello(Plugin):
def __init__(self):
super().__init__()
self.handlers[Event.ON_HANDLE_CONTEXT] = self.on_handle_context
# self.handlers[Event.ON_HANDLE_CONTEXT] = self.on_handle_context
logger.info("[Hello] inited")
def on_handle_context(self, e_context: EventContext):