mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-19 17:11:42 -06:00
5db8368f35
* fix(errors): drop cause text the message already states Cause-chain dedupe compared whole strings, so a wrapper that embeds its cause verbatim printed it twice, and an errno detail was followed by its own bare code. Skip any cause segment already contained in the accumulated message. * test(backup): stop pinning the duplicated errno suffix Both debug-view assertions required the bare code to follow the errno detail that already names it. Assert the detail itself instead, so they pin the message content rather than the redundancy. * fix(errors): narrow cause dedupe to wrapper-embedded messages Suppressing every contained segment also dropped trailing bare codes, which cron, fs, and backup tests pin deliberately as this formatter's convention. Restrict containment to cause messages so the wrapper duplication is fixed without changing the code suffix, and restore the backup assertions.