
try:
asyncio.get_event_loop().run_until_complete(func(**params))
except Exception as e:
logging.warning(e)
finally:
exit(0)
- 现在程序一直卡着没有退出
- 异常后怎样退出程序

try:
asyncio.get_event_loop().run_until_complete(func(**params))
except Exception as e:
logging.warning(e)
finally:
exit(0)