From 8f19a82e6626e67f72a8cd0c09d8aaf16e21cc71 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 21 Dec 2022 20:57:25 +0100 Subject: [PATCH] Improved logging --- ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext.py b/ext.py index 11a349b..7110b07 100644 --- a/ext.py +++ b/ext.py @@ -106,7 +106,7 @@ async def get_order(request: Request=None, code=None, secret=None, insecure=Fals secret = request.cookies.get("foxo_secret") if re.match('^[A-Z0-9]{5}$', code or '') and (secret is None or re.match('^[a-z0-9]{16,}$', secret)): - print('Trying to get a session from stored', code, secret) + print('Fetching', code, 'with secret', secret) async with httpx.AsyncClient() as client: res = await client.get(join(base_url, f"orders/{code}/"), headers=headers) if res.status_code != 200: