add debug logging 2
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Roy Olav Purser 2023-07-07 20:10:13 +02:00
parent d003d2b325
commit f8dd88e8a5
Signed by: roypur
GPG Key ID: 90142918D5E59AD3

View File

@ -115,8 +115,8 @@ class ProxyElem:
try: try:
async with self.local() as session: async with self.local() as session:
logger.log(request_data.json()) logger.info(request_data.json())
logger.log(request_data) logger.info(request_data)
resp = await session.post(proxy_server, json=request_data.dict()) resp = await session.post(proxy_server, json=request_data.dict())
response_data = cast( response_data = cast(
ProxyResponse, ProxyResponse.parse_raw(await resp.text()) ProxyResponse, ProxyResponse.parse_raw(await resp.text())