Skip to content

fix: 单个文件转换异常不应导致整个 bulk-convert 失败#5

Merged
yandy merged 1 commit into
mainfrom
fix/bulk-convert-catch-all-exceptions
May 27, 2026
Merged

fix: 单个文件转换异常不应导致整个 bulk-convert 失败#5
yandy merged 1 commit into
mainfrom
fix/bulk-convert-catch-all-exceptions

Conversation

@yandy
Copy link
Copy Markdown
Owner

@yandy yandy commented May 27, 2026

  • 将 except ValueError 改为 except Exception,防止 RuntimeError 等 非 ValueError 异常中断批量转换
  • 新增 test_bulk_convert_runtime_error_continues_r 和 test_bulk_convert_runtime_error_continues_f 覆盖此场景

- 将 except ValueError 改为 except Exception,防止 RuntimeError 等
  非 ValueError 异常中断批量转换
- 新增 test_bulk_convert_runtime_error_continues_r 和
  test_bulk_convert_runtime_error_continues_f 覆盖此场景
@yandy yandy merged commit 3c527ae into main May 27, 2026
2 checks passed
@yandy yandy deleted the fix/bulk-convert-catch-all-exceptions branch May 27, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant