Print the QUIC version when QuicSession fails to write data because the stream doesn't exist. gfe-relnote: n/a (Add an integer to a QUIC_BUG) PiperOrigin-RevId: 241942098 Change-Id: Ie445f131c7427fdcdaae7bb9473c74b190792186
diff --git a/quic/core/quic_session.cc b/quic/core/quic_session.cc index 2332070..763d208 100644 --- a/quic/core/quic_session.cc +++ b/quic/core/quic_session.cc
@@ -1489,7 +1489,8 @@ if (stream == nullptr) { // This causes the connection to be closed because of failed to serialize // packet. - QUIC_BUG << "Stream " << id << " does not exist when trying to write data."; + QUIC_BUG << "Stream " << id << " does not exist when trying to write data." + << " version:" << connection_->transport_version(); return STREAM_MISSING; } if (stream->WriteStreamData(offset, data_length, writer)) {