huangjianxiong
|
c067802cda
|
fix(microsoft-foundry): keep connection test error truncation UTF-16 safe (#102605)
* fix(microsoft-foundry): keep connection test error truncation UTF-16 safe
Replace `.slice(0, 200)` with `truncateUtf16Safe(body, 200)` in
testFoundryConnection error messages to prevent surrogate pair corruption.
Ref. lsr911 pattern — mechanical substitution, no behavior change.
* test(microsoft-foundry): cover UTF-16-safe connection errors
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
|
2026-07-09 11:51:38 +01:00 |
|