From 096f10c24a2d222ff2aa9f3e9d214ca42df7e913 Mon Sep 17 00:00:00 2001 From: gsd Date: Sat, 11 Mar 2023 19:49:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BA=D0=BE=D1=88=D0=B5=D1=80=D0=BD=D0=BE?= =?UTF-8?q?=D0=B5=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext/python-a2s-rcon-api/custom_rcon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/python-a2s-rcon-api/custom_rcon.py b/ext/python-a2s-rcon-api/custom_rcon.py index 3e3202a..a0b6b93 100644 --- a/ext/python-a2s-rcon-api/custom_rcon.py +++ b/ext/python-a2s-rcon-api/custom_rcon.py @@ -44,4 +44,5 @@ async def rcon( try: return response.payload.decode(encoding) except UnicodeDecodeError: + print(f"[{host}:{port}] Cannot decode response payload, use ignore encoding") return response.payload.decode(encoding, errors="ignore") \ No newline at end of file