gfe-relnote: (n/a) Improve the logging in QuicConnection when failed to write a packet. Logging only.
PiperOrigin-RevId: 294494327
Change-Id: I7400a5134c5c7708ef6ee5b04eb447e44e8a8264
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc
index 3040a06..8d97c48 100644
--- a/quic/core/quic_connection.cc
+++ b/quic/core/quic_connection.cc
@@ -2349,9 +2349,11 @@
if (IsWriteError(result.status)) {
OnWriteError(result.error_code);
QUIC_LOG_FIRST_N(ERROR, 10)
- << ENDPOINT << "failed writing packet " << packet_number << " of "
+ << ENDPOINT << "Failed writing packet " << packet_number << " of "
<< encrypted_length << " bytes from " << self_address().host() << " to "
- << peer_address() << ", with error code " << result.error_code;
+ << peer_address() << ", with error code " << result.error_code
+ << ". long_term_mtu_:" << long_term_mtu_
+ << ", is_mtu_discovery:" << is_mtu_discovery;
return false;
}