From d252228493f684e09ce984cfaebc62d381ebb462 Mon Sep 17 00:00:00 2001 From: Miguel Guthridge Date: Sun, 7 Apr 2024 23:54:56 +1000 Subject: [PATCH] Wait no this is probably a better way to fix mypy --- flapi/__comms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flapi/__comms.py b/flapi/__comms.py index 2ee814e..ffe8a72 100644 --- a/flapi/__comms.py +++ b/flapi/__comms.py @@ -199,7 +199,7 @@ def client_goodbye(code: int) -> None: # We should never reach this point, as receiving the message should # have raised a SystemExit log.critical( - f"Failed to SystemExit -- instead received message {res!r}" + f"Failed to SystemExit -- instead received message {res.decode()}" ) assert False except FlapiClientExit: