Skip to content

Commit 03f0c2d

Browse files
Joe-Moranlizokm
andauthored
Fix typo and punctuation (#11483)
* Fix typo and punctuation The period was added to the description for consistency with other description frontmatter. * Update docs/platforms/dotnet/common/configuration/http-client-errors.mdx --------- Co-authored-by: Liza Mock <[email protected]>
1 parent 87795ba commit 03f0c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: HTTP Client Errors
33
sidebar_order: 25
4-
description: "This feature, once enabled, automatically captures HTTP client errors, like bad response codes, as error events and reports them to Sentry"
4+
description: "This feature, once enabled, automatically captures HTTP client errors, like bad response codes, as error events and reports them to Sentry."
55
---
66

77
Once enabled, this feature automatically captures HTTP client errors, like bad response codes, as error events and reports them to Sentry. The error event will contain information from the HTTP request and response, such as `url`, `status_code`, and so on.
@@ -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 (`Senry.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)