Skip to content

Conversation

bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Oct 8, 2025

I am investigating #4381 and I believe this is the code that is the source of that error today:

let sse = match otel_event_manager
.log_sse_event(|| timeout(idle_timeout, stream.next()))
.await
{
Ok(Some(Ok(sse))) => sse,
Ok(Some(Err(e))) => {
debug!("SSE Error: {e:#}");
let event = CodexErr::Stream(e.to_string(), None);
let _ = tx_event.send(Err(event)).await;
return;
}

This code was touched recently as part of:

#2103

so this reverts some of the changes to codex-rs/core/src/client.rs introduced in that PR.

While here, promote a number of events that were logging errors from debug!() to error!().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants