mirror of
https://github.com/openai/codex.git
synced 2026-05-28 15:00:16 +00:00
Clear tracked analytics requests on errors
This commit is contained in:
@@ -607,6 +607,12 @@ impl OutgoingMessageSender {
|
||||
request_id: ConnectionRequestId,
|
||||
error: JSONRPCErrorError,
|
||||
) {
|
||||
self.analytics_events_client.track_error_response(
|
||||
request_id.connection_id.0,
|
||||
request_id.request_id.clone(),
|
||||
error.clone(),
|
||||
/*error_type*/ None,
|
||||
);
|
||||
let outgoing_message = OutgoingMessage::Error(OutgoingError {
|
||||
id: request_id.request_id,
|
||||
error,
|
||||
|
||||
Reference in New Issue
Block a user