Skip to content

Commit 8cfa7a2

Browse files
committed
docs(aspnetcore): update AddExceptionlessExceptionHandler xml documentation
Clarify that the exception handler is registered automatically by AddExceptionless when the AspNetCore package is referenced, while noting that manual registration remains an option.
1 parent 70aba4d commit 8cfa7a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Platforms/Exceptionless.AspNetCore/ExceptionlessExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public static WebApplicationBuilder AddExceptionless(this WebApplicationBuilder
4646

4747
/// <summary>
4848
/// Registers the Exceptionless <see cref="IExceptionHandler"/> and required ASP.NET Core services
49-
/// for capturing unhandled exceptions. Call this in your service configuration alongside <c>app.UseExceptionHandler()</c>.
50-
/// This is called automatically when using the <see cref="WebApplicationBuilder"/> overloads of <c>AddExceptionless</c>.
49+
/// for capturing unhandled exceptions. This is called automatically by <c>AddExceptionless</c> when the
50+
/// Exceptionless.AspNetCore package is referenced. Can also be called explicitly if needed.
5151
/// </summary>
5252
public static IServiceCollection AddExceptionlessExceptionHandler(this IServiceCollection services) {
5353
services.AddHttpContextAccessor();

0 commit comments

Comments
 (0)