From 8b30b66799f558f3823b0090f78210ab9323e867 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Sun, 19 Mar 2023 16:43:33 +0800 Subject: [PATCH] perf/delete log output --- app/utils/precheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/precheck.py b/app/utils/precheck.py index 612a650..8ce6fe9 100644 --- a/app/utils/precheck.py +++ b/app/utils/precheck.py @@ -48,13 +48,13 @@ async def inbox_prechecker( ).one_or_none() ): - logger.info(f"Dropping unnecessary delete activity {payload=}") + logger.info(f"Dropping unnecessary delete activity " + + payload["actor"]) raise fastapi.HTTPException(status_code=202) except fastapi.HTTPException as http_exc: raise http_exc except Exception: logger.exception("Failed to precheck delete activity") - return False actor_url = payload["actor"] async with httpx.AsyncClient() as client: