Add Exception middleware

This commit is contained in:
2022-09-01 23:02:49 +01:00
parent 2ac5937096
commit dcf3b1020a
14 changed files with 241 additions and 90 deletions

View File

@@ -0,0 +1,12 @@
using Diary.Shared;
namespace Diary.Installers
{
public static class InstallExceptionsMiddleware
{
public static void AddExceptionsMiddleware(this IServiceCollection services)
{
services.AddScoped<ExceptionHandlingMiddleware>();
}
}
}