Skip to content

Commit d31c55a

Browse files
authored
Update docs/platforms/dotnet/common/configuration/http-client-errors.mdx
1 parent 9364313 commit d31c55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/dotnet/common/configuration/http-client-errors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let httpClient = new HttpClient(new SentryHttpMessageHandler())
3030

3131
<Alert title="Tip">
3232

33-
You can skip the above step when using any of the Sentry .NET SDKs that are registered via dependency injection (`Sentry.AspNetCore`, `Sentry.Maui`, `Sentry.Extensions.Logging`, etc.).
33+
You can skip the above step when using any of the Sentry .NET SDKs that are registered via dependency injection (`Sentry.AspNetCore`, `Sentry.Maui`, `Sentry.Extensions.Logging`, and so on).
3434

3535
Instead, create your `HttpClient` using the `IHttpClientFactory` pattern, as described in [the documentation from Microsoft](https://learn.microsoft.com/aspnet/core/fundamentals/http-requests). The `SentryHttpMessageHandler` will automatically be added to the factory during initialization, so no additional wire-up is needed.
3636

0 commit comments

Comments
 (0)