From 2bc050ac35febaa9e6f78abf00b996d4e34ab2dc Mon Sep 17 00:00:00 2001 From: mehfuz Date: Sun, 15 Nov 2026 09:59:53 -0800 Subject: [PATCH] Keep the API Worker's logs Cloudflare kept no logs for gpushed-api, so there was no way to see why a Stripe webhook delivery was slow to credit a top-up. Turn on Workers Logs so requests, console output and errors are kept. --- api/wrangler.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/wrangler.toml b/api/wrangler.toml index 4bbbdb3..9941e3c 100644 --- a/api/wrangler.toml +++ b/api/wrangler.toml @@ -18,6 +18,11 @@ database_name = "gpushed" database_id = "2c942c01-b93a-4001-a1fc-11fdfbc61840" migrations_dir = "migrations" +# Keep the Worker's logs (console output, errors, and each request) so +# problems such as a failed Stripe webhook delivery can be looked into later. +[observability] +enabled = true + # Meter usage and enforce balances every 5 minutes. [triggers] crons = ["*/5 * * * *"]