fix slack

This commit is contained in:
jxxghp
2023-06-15 17:30:31 +08:00
parent 1d835d68b8
commit 237fe69d82
3 changed files with 64 additions and 35 deletions

View File

@ -182,6 +182,7 @@ class Command(metaclass=Singleton):
command['func'](data_str)
else:
command['func']()
logger.info(f"{command.get('description')} 执行完成")
except Exception as err:
logger.error(f"执行命令 {cmd} 出错:{str(err)}")
traceback.print_exc()