feat: get_tyy_data优化3

This commit is contained in:
caoqianming 2025-05-16 11:18:55 +08:00
parent 518379ea35
commit 9f3b3a52a7
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def get_tyy_data(*args):
except socket.timeout: except socket.timeout:
raise ParseError("采集器连接超时") raise ParseError("采集器连接超时")
except Exception as e: except Exception as e:
raise ParseError(f"未知错误: {str(e)}") raise ParseError(f"其他错误: {str(e)}")
finally: finally:
if sc: if sc:
try: try: