aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Configurations/Extensions/ConfigureExceptionHandlerMiddleware.cs
blob: 286727f9cbc01b0e364ec849a458eb8cbaaf24e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using DevHive.Web.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

namespace DevHive.Web.Configurations.Extensions
{
	public static class ConfigureExceptionHandlerMiddleware
	{
		public static void ExceptionHandlerMiddlewareConfiguration(this IServiceCollection services) { }

		public static void UseExceptionHandlerMiddlewareConfiguration(this IApplicationBuilder app)
		{
			app.UseMiddleware<ExceptionMiddleware>();
		}
	}
}