Skip to content

Commit

Permalink
Fix text errors (Async)
Browse files Browse the repository at this point in the history
  • Loading branch information
PBMikeW committed Nov 1, 2024
1 parent 7562646 commit 39661d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Json.More;
namespace OrchardCore.Infrastructure.Filters;

public class ApiExceptionHandlingFilter : IAsyncExceptionFilter
public class ApiExceptionHandlingFilter : IExceptionFilter
{
private static readonly JsonSerializerOptions _jsonOptions = new()
{
Expand All @@ -24,7 +24,7 @@ public ApiExceptionHandlingFilter()

}

public async Task OnExceptionAsync(ExceptionContext context)
public void OnException(ExceptionContext context)
{
var response = new ProblemDetails
{
Expand Down

0 comments on commit 39661d8

Please sign in to comment.