这段代码为什么没有捕获到网络异常
try:
run()
except Exception as e:
err = str(e)
报错信息:
Exception in thread Thread-3143:
raise mapped_exc(message) from exc
httpx.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
try:
run()
except Exception as e:
err = str(e)
报错信息:
Exception in thread Thread-3143:
raise mapped_exc(message) from exc
httpx.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)