Skip to content

Conversation

@sirix-v
Copy link
Contributor

@sirix-v sirix-v commented Sep 19, 2025

Description

fix: resolve Rich MarkupError when error messages contain square brackets

  • Replace direct Rich markup syntax with Text objects for error messages
  • Fix MarkupError crashes when exception messages contain [ ] characters
  • Apply fix to all error handling locations in CLI
  • Ensure CLI can safely display any error message regardless of content

Fixes #281

More Information

Validation

Linked Issues

#281

@chao-peng chao-peng merged commit d9b60cd into bytedance:main Sep 24, 2025
3 checks passed
@chao-peng
Copy link
Collaborator

Thanks!

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.

[Bug]: CLI crashes with rich.errors.MarkupError when error messages contain special characters

2 participants