Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Better sentry error

Uku Tahtf1e6baa9dffc
diff --git a/lib/plausible/billing/plans.ex b/lib/plausible/billing/plans.ex
index c0a044c7b4..56ff3c748f 100644
--- a/lib/plausible/billing/plans.ex
+++ b/lib/plausible/billing/plans.ex
@@ -102,7 +102,11 @@ defmodule Plausible.Billing.Plans do
if enterprise_plan do
enterprise_plan.monthly_pageview_limit
else
- Sentry.capture_message("Unknown allowance for plan", extra: %{subscription: subscription})
+ Sentry.capture_message("Unknown allowance for plan",
+ extra: %{
+ paddle_plan_id: subscription.paddle_plan_id
+ }
+ )
end
end
end