Can we make BaseBotException inherited from Exception?
With BaseException, nonebot won't catch and display exceptions like
raise ThesaurusError(f"添加词库(tal)数据失败 目标词id: {_id}"). They simply swallow it, that's quite confusing.
Can we move database startup to plugins/__init__.py. Sometimes I just load one plugin to test it, if it needs database access,
it fails because plugins/essential.py is not imported
I took care of plain-text message recall (will send it to superadmin), if this is the intended behavior?
Exception
? WithBaseException
, nonebot won't catch and display exceptions likeraise ThesaurusError(f"添加词库(tal)数据失败 目标词id: {_id}")
. They simply swallow it, that's quite confusing.plugins/__init__.py
. Sometimes I just load one plugin to test it, if it needs database access, it fails becauseplugins/essential.py
is not imported