增加发送segments

This commit is contained in:
xunbu
2025-08-21 17:08:49 +08:00
parent e924dde7ff
commit d38071e6d9
2 changed files with 5 additions and 2 deletions

View File

@@ -4,8 +4,7 @@ on:
push: push:
branches: [ "main" ] branches: [ "main" ]
workflow_dispatch: workflow_dispatch:
release:
types: [created]
jobs: jobs:
build-windows: build-windows:

View File

@@ -58,6 +58,8 @@ Warning: Never wrap the entire JSON object in quotes to make it a single string.
self.logger.info(f"json解析错误解析文本:{chunk_str},错误:{e.__repr__()}") self.logger.info(f"json解析错误解析文本:{chunk_str},错误:{e.__repr__()}")
except ValueError as e: except ValueError as e:
self.logger.info(f"value错误更新对象:{indexed_translated},错误:{e.__repr__()}") self.logger.info(f"value错误更新对象:{indexed_translated},错误:{e.__repr__()}")
except Exception as e:
self.logger.info(f"send_segments错误:{e.__repr__()}")
# 初始化结果列表 # 初始化结果列表
result = [] result = []
@@ -91,6 +93,8 @@ Warning: Never wrap the entire JSON object in quotes to make it a single string.
self.logger.info(f"json解析错误解析文本:{chunk_str},错误:{e.__repr__()}") self.logger.info(f"json解析错误解析文本:{chunk_str},错误:{e.__repr__()}")
except ValueError as e: except ValueError as e:
self.logger.info(f"value错误更新对象:{indexed_translated},错误:{e.__repr__()}") self.logger.info(f"value错误更新对象:{indexed_translated},错误:{e.__repr__()}")
except Exception as e:
self.logger.info(f"send_segments错误:{e.__repr__()}")
# 初始化结果列表 # 初始化结果列表