diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index 23c4448..b51493a 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -188,7 +188,7 @@ func TrackError(direction string, e error) (shouldLog bool) { // shouldLog is a errType = errBlobNotFound } else if strings.Contains(err.Error(), "0-byte blob received") { errType = errZeroByteBlob - } else if strings.Contains(err.Error(), "QuicError PROTOCOL_VIOLATION") { + } else if strings.Contains(err.Error(), "PROTOCOL_VIOLATION: tried to retire connection") { errType = errQuicProto } else if strings.Contains(err.Error(), "invalid character") { errType = errInvalidCharacter