summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-04-06 21:45:14 +0800
committeraltaf-creator <dev@altafcreator.com>2026-04-06 21:45:14 +0800
commitbf140c751dcc63148ed861c007be60cb84946286 (patch)
treedab628e8e4bb715c46d90f2b572b09bc95e5c229 /backend/main.py
parent46d4e2b2c5c8b6786ded88bbc70098265ecbb6fa (diff)
debug
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/main.py b/backend/main.py
index e242389..d338a1d 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -480,6 +480,7 @@ def notif_subscribe(data: notif.PushSubscriptionData, response: fastapi.Response
return "subscription saved."
except Exception as err:
response.status_code = fastapi.status.HTTP_500_INTERNAL_SERVER_ERROR
+ print(err)
return f"error, failed to save subscription {err}"