forked from goodboy/tractor
Port to new `msgspec` error type
parent
75bb1added
commit
509082c935
|
@ -264,7 +264,7 @@ class MsgspecTCPStream(MsgpackTCPStream):
|
||||||
try:
|
try:
|
||||||
yield self.decode(msg_bytes)
|
yield self.decode(msg_bytes)
|
||||||
except (
|
except (
|
||||||
msgspec.DecodingError,
|
msgspec.DecodeError,
|
||||||
UnicodeDecodeError,
|
UnicodeDecodeError,
|
||||||
):
|
):
|
||||||
if not last_decode_failed:
|
if not last_decode_failed:
|
||||||
|
|
Loading…
Reference in New Issue