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

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

View File

@ -115,6 +115,8 @@ class ProxyElem:
try: try:
async with self.local() as session: 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()) 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())