From 2300f98b0418e09578976888fb568fae0610589c Mon Sep 17 00:00:00 2001 From: AURUMVORXX Date: Mon, 25 Aug 2025 20:48:09 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D1=8B=20=D1=83=D1=80=D0=BE=D0=B2=D0=BD=D0=B8?= =?UTF-8?q?=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9=20?= =?UTF-8?q?=D0=B2=20logging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pyg2o/server_v3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyg2o/server_v3.py b/src/pyg2o/server_v3.py index c0a6a8d..06a8d79 100644 --- a/src/pyg2o/server_v3.py +++ b/src/pyg2o/server_v3.py @@ -86,11 +86,11 @@ class Server: message_data = json.loads(data) self._logger.info(f'Сообщение сервера: {message_data}') except json.JSONDecodeError as e: - self._logger.info(f'Ошибка декодирования JSON: {e}') + self._logger.exception(f'Ошибка декодирования JSON: {e}') except WebSocketDisconnect: self._logger.info('PyG2O сервер отключился') except WebSocketException as e: - self._logger.info(f'Ошибка подключения PyG2O сервера: {e}') + self._logger.exception(f'Ошибка подключения PyG2O сервера: {e}') async def _process_server_message(self, message: dict): match message: