Skip to content

Commit 64ccd98

Browse files
committed
Review comments
1 parent 4c72a14 commit 64ccd98

File tree

1 file changed

+7
-6
lines changed
  • docs/platforms/python/integrations/unleash

1 file changed

+7
-6
lines changed

docs/platforms/python/integrations/unleash/index.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ from sentry_sdk.integrations.unleash import UnleashIntegration
2727
from UnleashClient import UnleashClient
2828

2929
unleash_client = UnleashClient(
30-
url="<Unleash server URL>/api/", # "http://localhost:4242/api/" if you are self-hosting Unleash
31-
app_name="my-app", # Identifies your app in the Unleash UI
30+
url="<Unleash server URL>/api/", # "http://localhost:4242/api/" if you are self-hosting Unleash.
31+
app_name="my-app", # Identifies your app in the Unleash UI.
3232
custom_headers={
33-
"Authorization": os.environ["UNLEASH_CLIENT_API_TOKEN"] # See 'client token' docs
33+
# See https://docs.getunleash.io/how-to/how-to-create-api-tokens
34+
"Authorization": os.environ["UNLEASH_CLIENT_API_TOKEN"]
3435
}
3536
)
3637

@@ -46,7 +47,7 @@ For more information on how to use Unleash, read Unleash's [Python reference](ht
4647

4748
## Verify
4849

49-
The integration is tested by evaluating a feature flag using your Unleash SDK before capturing an exception.
50+
Test the integration by evaluating a feature flag using your Unleash SDK before capturing an exception.
5051

5152
```python {tabTitle: Python, using is_enabled}
5253
import sentry_sdk
@@ -67,7 +68,7 @@ test_flag_enabled = test_flag_variant["enabled"]
6768
sentry_sdk.capture_exception(Exception("Something went wrong!"))
6869
```
6970

70-
Visit the Sentry website and confirm that your error event has recorded the feature flag "test-flag", and its value
71-
is equal to `test_flag_enabled`.
71+
Visit the [Sentry website](https://sentry.io/issues/) and confirm that your error
72+
event has recorded the feature flag "test-flag", and its value is equal to `test_flag_enabled`.
7273

7374
<PlatformContent includePath="feature-flags/next-steps" />

0 commit comments

Comments
 (0)