change error msg
This commit is contained in:
parent
2b3581a692
commit
a80e0f5b0d
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ func TrackError(direction string, e error) (shouldLog bool) { // shouldLog is a
|
||||||
errType = errBlobNotFound
|
errType = errBlobNotFound
|
||||||
} else if strings.Contains(err.Error(), "0-byte blob received") {
|
} else if strings.Contains(err.Error(), "0-byte blob received") {
|
||||||
errType = errZeroByteBlob
|
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
|
errType = errQuicProto
|
||||||
} else if strings.Contains(err.Error(), "invalid character") {
|
} else if strings.Contains(err.Error(), "invalid character") {
|
||||||
errType = errInvalidCharacter
|
errType = errInvalidCharacter
|
||||||
|
|
Loading…
Add table
Reference in a new issue