Files
OpenJarvis/tests/cli
3398e0c10b fix(cli): escape exception text in agents-list error handler (#465)
`jarvis agents list` crashed with a secondary Rich MarkupError when the
underlying exception message contained markup metacharacters like
`[...]`: the error handler did `console.print(f"[red]Error: {exc}[/red]")`,
and Rich re-parsed the interpolated message as markup (#297).

Escape the dynamic message with rich.markup.escape and keep only the
static "Error:" label styled, so the original error surfaces cleanly
instead of a traceback. Adds a regression test that reproduces the
MarkupError via an exception message with brackets.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 10:26:11 -07:00
..
2026-03-12 17:29:39 +00:00
2026-04-17 15:22:17 -07:00
2026-03-12 17:29:39 +00:00
2026-03-12 17:29:39 +00:00
2026-05-18 20:19:37 -07:00
2026-05-18 20:19:37 -07:00
2026-03-29 16:31:29 +05:30
2026-05-19 11:57:10 -07:00
2026-03-12 17:29:39 +00:00