mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-26 01:49:30 +00:00
`stringifyNonErrorCause` is typed `string`, but its `try` returned `JSON.stringify(value)`, which is `undefined` for functions, symbols, and undefined causes — leaking undefined to callers that format nested ACP runtime failures and expect a string. Fall back to a tag string when stringify yields undefined, matching the already-correct sibling at `src/infra/errors.ts`. Co-authored-by: ly-wang19 <ly-wang19@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>