plugin(tool) add a config.json template and fix something

This commit is contained in:
goldfishh
2023-04-02 22:33:31 +08:00
parent 71d288f550
commit 7835379f8f
4 changed files with 20 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ class Tool(Plugin):
_reply = self.app.ask(query, user_session)
e_context.action = EventAction.BREAK_PASS
all_sessions.session_reply(_reply, e_context['context']['session_id'])
except ValueError as e:
except Exception as e:
logger.exception(e)
logger.error(str(e))