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
cli, client: log typed RPC errors through sanitize_error_sources so the failure class survives #2277
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:choreCleanup, dependencies, tooling or release work; no user-visible changeprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
The fix for #2271 adds decdn_common::redact::sanitize_error_sources. It walks a typed error's source() chain, drops repeated layers, and strips URLs. sanitize_rpc_display prints only the top-level Display. For an alloy or reqwest transport error, that layer names the operation and the URL, and the failure class (timeout, connection refused, DNS, TLS) is a deeper source(). After the URL strip, the class is lost.
The #2271 PR switches every such site in crates/node/src. These sites outside the node crate still use sanitize_rpc_display on an error value:
area:clidecdn binary: get, gateway, pool, publish, origin, setupkind:choreCleanup, dependencies, tooling or release work; no user-visible changeprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix(client,cli): lane faults at WARN; typed RPC errors keep their fai…