From 642c4eeb9dcb7fb6dbf3b86cc70208550cce4550 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 15 Dec 2023 18:46:53 +0300 Subject: [PATCH] debug-webhook --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 0e316d39..229a5514 100644 --- a/main.py +++ b/main.py @@ -72,6 +72,9 @@ class WebhookEndpoint(HTTPEndpoint): await create_author(user_id, slug) return JSONResponse({"status": "success"}) except Exception as e: + import traceback + + traceback.print_exc() return JSONResponse({"status": "error", "message": str(e)}, status_code=500)