blob: c017a8cebfffa9b2cb7e2612399c843c323dc6b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using DevHive.Web.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace DevHive.Web.Configurations.Extensions
{
public static class ConfigureExceptionHandlerMiddleware
{
public static void UseExceptionHandlerMiddlewareConfiguration(this IApplicationBuilder app)
{
app.UseMiddleware<ExceptionMiddleware>();
}
}
}
|