Skip to content

Commit 89fd867

Browse files
committed
do it
1 parent 8d09e86 commit 89fd867

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

posthog/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def _load_feature_flags(self):
601601
"More information: https://posthog.com/docs/api/overview",
602602
)
603603
elif e.status == 402:
604-
self.log.warning("[FEATURE FLAGS] PostHog feature flags quota limited")
604+
self.log.warning("[FEATURE FLAGS] PostHog feature flags quota limited, resetting feature flag data. Learn more about billing limits at https://posthog.com/docs/billing/limits-alerts")
605605
# Reset all feature flag data when quota limited
606606
self.feature_flags = []
607607
self.feature_flags_by_key = {}

posthog/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _process_response(
7878
and isinstance(response["quotaLimited"], list)
7979
and "feature_flags" in response["quotaLimited"]
8080
):
81-
log.warning("PostHog feature flags quota limited")
81+
log.warning("[FEATURE FLAGS] PostHog feature flags quota limited, resetting feature flag data. Learn more about billing limits at https://posthog.com/docs/billing/limits-alerts")
8282
raise QuotaLimitError(res.status_code, "Feature flags quota limited")
8383
return response
8484
try:

0 commit comments

Comments
 (0)