auto-sync: 2026-06-08 23:21:31

This commit is contained in:
cfdaily
2026-06-08 23:21:31 +08:00
parent 137fa01b3d
commit c3781284c1
+2
View File
@@ -468,6 +468,8 @@ async def gitea_webhook(
# 5. 执行 handler
try:
if x_gitea_event and 'approved' in x_gitea_event or 'rejected' in x_gitea_event:
print(f"[WEBHOOK_DEBUG] Calling review handler, review={payload.get('review',{})}", flush=True)
await handler(payload)
except Exception:
logger.exception("Mail creation failed for %s event", x_gitea_event)