feat: add middleware for custom exception
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m54s
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m54s
This commit is contained in:
@ -138,6 +138,7 @@ public class Program
|
||||
});
|
||||
}
|
||||
app.UseMiddleware<MaintenanceModeMiddleware>();
|
||||
app.UseMiddleware<CustomExceptionHandlerMiddleware>();
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
|
Reference in New Issue
Block a user