Under the hood
A telemetry failure while logging request or response content no longer crashes the API call
What
The code that computes telemetry about a request's prefix and a response's content is now wrapped in try/catch. If this telemetry computation fails, Claude Code now logs "request prefix telemetry failed" or "response content telemetry failed" through its debug logger instead of letting the error propagate and interrupt the API call.
Why
Previously, a bug in this telemetry code could break an otherwise-working API request. Now such a failure is just logged, so telemetry problems can't take down a real request or response.