feat: add middleware for custom exception
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m54s

This commit is contained in:
2024-05-28 07:16:15 +03:00
parent 59785f600f
commit 481839159c
2 changed files with 61 additions and 0 deletions

View File

@ -138,6 +138,7 @@ public class Program
});
}
app.UseMiddleware<MaintenanceModeMiddleware>();
app.UseMiddleware<CustomExceptionHandlerMiddleware>();
app.UseHttpsRedirection();