We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1bc913 commit 7ee3002Copy full SHA for 7ee3002
posthog/client.py
@@ -240,6 +240,11 @@ def _load_feature_flags(self):
240
'To use feature flags, please set a personal_api_key ' \
241
'More information: https://posthog.com/docs/api/overview'
242
)
243
+ else:
244
+ raise APIError(
245
+ status=e.status,
246
+ message=e.message
247
+ )
248
except Exception as e:
249
self.log.warning('[FEATURE FLAGS] Fetching feature flags failed with following error. We will retry in %s seconds.' % self.poll_interval)
250
self.log.warning(e)
0 commit comments