想要捕获所有的异常,可以直接捕获 Exception 即可:. try: ... except Exception as e: ... log('Reason:', e) # Important! 这个将会捕获除了 SystemExit ...
確定! 回上一頁