feat: get_tyy_data优化3
This commit is contained in:
parent
518379ea35
commit
9f3b3a52a7
|
@ -30,7 +30,7 @@ def get_tyy_data(*args):
|
|||
except socket.timeout:
|
||||
raise ParseError("采集器连接超时")
|
||||
except Exception as e:
|
||||
raise ParseError(f"未知错误: {str(e)}")
|
||||
raise ParseError(f"其他错误: {str(e)}")
|
||||
finally:
|
||||
if sc:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue