捕获异常并且写入日志
try:
server_id = _create(area_id=area_id, server_id=server_id, config_list=config_list)
except Exception as e:
msg = traceback.format_exc()
print(msg)
# dingding_send_txt_to_all(e)
-----------------------------------------------------------------------------------------------------------------------------------------