Skip to content

Commit 67f24e8

Browse files
authored
Update index.md (dotnet#17046)
1 parent ae7e234 commit 67f24e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aspnetcore/web-api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ The `NotFound` method produces an HTTP 404 status code with a `ProblemDetails` b
376376

377377
### Disable ProblemDetails response
378378

379-
The automatic creation of a `ProblemDetails` instance is disabled when the <xref:Microsoft.AspNetCore.Mvc.ApiBehaviorOptions.SuppressMapClientErrors%2A> property is set to `true`. Add the following code in `Startup.ConfigureServices`:
379+
The automatic creation of a `ProblemDetails` for error status codes is disabled when the <xref:Microsoft.AspNetCore.Mvc.ApiBehaviorOptions.SuppressMapClientErrors%2A> property is set to `true`. Add the following code in `Startup.ConfigureServices`:
380380

381381
::: moniker-end
382382

0 commit comments

Comments
 (0)