You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1174c13
Browse filesBrowse the repository at this point in the historyBrowse files
fix(types,core): guard each cause link, align object-cause rendering, declare the widening
Rework for the contract review: a link whose read throws ends the chain
in a marker in both copies; object causes render under the same rules in
both copies; Clause-2 reads yes (widening); docblocks name the parity test.
Claude-Session: https://claude.ai/code/session_01Utp6CZHczeF42DiDgkJPmk
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/37598-fault-log-cause-chain.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
fix: the 5xx fault log and `ObjectLogger` print an error's `cause` chain
8
8
9
-
Clause-②: no
9
+
Clause-②: yes (widening)
10
10
Metadata-protocol: none
11
11
12
12
A server fault thrown with the original error on `cause` used to log the wrapper's message and stack only, so the root cause was missing from the operator's line. `logServerFault` (`@objectstack/types`) now prints the chain as `causes` beside `stack` on its console fallback, and `ObjectLogger` (`@objectstack/core`) prints it as `error.causes` for every `logger.error` / `logger.fatal` that passes an error. Each link carries its message and stack; a cycle stops at the first repeat and a chain stops after five links, each saying so in a last link. Nothing reaches a response body.
0 commit comments