Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(observability): handle missing span context in error logging

Steven Enamakelb9486aefc270
diff --git a/crates/openhuman-core/src/core/observability.rs b/crates/openhuman-core/src/core/observability.rs
index 8b4f5020c0..eb7b48c40d 100644
--- a/crates/openhuman-core/src/core/observability.rs
+++ b/crates/openhuman-core/src/core/observability.rs
@@ -3181,7 +3181,7 @@ pub const USAGE_PROBE_BACKOFF_PREFIX: &str = "USAGE_PROBE_BACKOFF:";
/// Sentinel prefix on the error string a backend-touching call returns when
/// the core has no [`BackendTransport`](crate::backend::transport::BackendTransport)
-/// installed. `api::rest::flatten_authed_error` and the integrations client
+/// installed. `backend::client::flatten_authed_error` and the integrations client
/// build their message from this constant; [`is_backend_unavailable_message`]
/// classifies it as [`ExpectedErrorKind::BackendUnavailable`].
pub const BACKEND_UNAVAILABLE_PREFIX: &str = "BACKEND_UNAVAILABLE:";