From 509082c935a07567c1ab53ab367c5b0baaceb9a5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 16 Feb 2022 13:06:24 -0500 Subject: [PATCH] Port to new `msgspec` error type --- tractor/_ipc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tractor/_ipc.py b/tractor/_ipc.py index b996c5f..4d62f1d 100644 --- a/tractor/_ipc.py +++ b/tractor/_ipc.py @@ -264,7 +264,7 @@ class MsgspecTCPStream(MsgpackTCPStream): try: yield self.decode(msg_bytes) except ( - msgspec.DecodingError, + msgspec.DecodeError, UnicodeDecodeError, ): if not last_decode_failed: