appium使用try except Exception捕获异常时,只能获取如下部分。
selenium.common.exceptions.WebDriverException: Message:
如果不使用try except,直接把让程序错误运行,控制台输出如下全部信息:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up
为什么try except捕获异常不完整,有什么办法