From d003d2b3254f4a8f54e8f50efbc8284d84ce5c5e Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Fri, 7 Jul 2023 20:05:48 +0200 Subject: [PATCH] add debug logging --- backend/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/config.py b/backend/config.py index 5011115..c9d0869 100644 --- a/backend/config.py +++ b/backend/config.py @@ -115,6 +115,8 @@ class ProxyElem: try: async with self.local() as session: + logger.log(request_data.json()) + logger.log(request_data) resp = await session.post(proxy_server, json=request_data.dict()) response_data = cast( ProxyResponse, ProxyResponse.parse_raw(await resp.text())