Commit 9bfc3ec
fix(BA-6003): restore indent=2 JSON dump in coordinator exception log
The dual-catch unification accidentally degraded the log payload from
ex.json(indent=2) (the ValidationError-only path) to str(ex)
(the unified path). Both BackendAISchemaValidationFailed and
ValidationError expose errors(), so we can keep the indented
JSON shape via json.dumps(ex.errors(), indent=2, default=str).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 718218c commit 9bfc3ec
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
203 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| |||
0 commit comments