perf/delete log output
This commit is contained in:
parent
fed6c1fa8f
commit
8b30b66799
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue