[feat] process error for send note
All checks were successful
/ run-pytest (push) Successful in 43s

This commit is contained in:
SouthFox 2024-03-10 00:43:20 +08:00
parent c97581278d
commit f6b6e8c278

View file

@ -473,11 +473,15 @@ async def _send_create(
if ap.VisibilityEnum.PUBLIC == outbox_object.visibility:
ldsig.generate_signature(ap_object, k)
for r in recipients:
await post(
r,
ap_object,
)
try:
for r in recipients:
await post(
r,
ap_object,
)
except Exception as e:
logger.error(e)
return True