Add descriptive IDs to two QUIC bugs that are firing in prod so they can be
tracked more easily.
PiperOrigin-RevId: 362548535
Change-Id: I071211c7c165fb9f110fcc18f8d8460dea2e0ef1
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc
index b3a9246..76bc891 100644
--- a/quic/core/quic_connection.cc
+++ b/quic/core/quic_connection.cc
@@ -1119,7 +1119,7 @@
const std::string error_details =
"Pending frames must be serialized before incoming packets are "
"processed.";
- QUIC_BUG_V2(quic_bug_10511_5)
+ QUIC_BUG_V2(quic_pending_frames_not_serialized)
<< error_details << ", received header: " << header;
CloseConnection(QUIC_INTERNAL_ERROR, error_details,
ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
diff --git a/quic/core/quic_sent_packet_manager.cc b/quic/core/quic_sent_packet_manager.cc
index 1b81ef6..2a944a1 100644
--- a/quic/core/quic_sent_packet_manager.cc
+++ b/quic/core/quic_sent_packet_manager.cc
@@ -1020,9 +1020,9 @@
// Find out the packet number space to send probe packets.
if (!GetEarliestPacketSentTimeForPto(&packet_number_space)
.IsInitialized()) {
- QUIC_BUG_IF_V2(quic_bug_12552_5,
+ QUIC_BUG_IF_V2(quic_earliest_sent_time_not_initialized,
unacked_packets_.perspective() == Perspective::IS_SERVER)
- << "earlist_sent_time not initialized when trying to send PTO "
+ << "earliest_sent_time not initialized when trying to send PTO "
"retransmissions";
return;
}