fixing compile error

This commit is contained in:
kevin zhao
2025-11-19 16:14:07 -08:00
parent 09bd2732ad
commit f4ccc759b0

View File

@@ -37,7 +37,10 @@ pub(crate) fn spawn_agent(
eprintln!("{message}");
app_event_tx_clone.send(AppEvent::CodexEvent(Event {
id: "".to_string(),
msg: EventMsg::Error(ErrorEvent { message }),
msg: EventMsg::Error(ErrorEvent {
message,
http_status_code: None,
}),
}));
app_event_tx_clone.send(AppEvent::ExitRequest);
tracing::error!("failed to initialize codex: {err}");