Remove DependencyInjection class and global exception handler
The entire `DependencyInjection` class has been removed, including the `UseGlobalExceptionHandler` extension method and its associated `using` directive. This change eliminates the functionality for setting up global exception handling middleware in the application.
This commit is contained in:
parent
b8995da5ea
commit
9ea2599553
@ -1,12 +0,0 @@
|
|||||||
using Microsoft.AspNetCore.Builder;
|
|
||||||
|
|
||||||
namespace DigitalData.Core.Exceptions;
|
|
||||||
|
|
||||||
public static class DependencyInjection
|
|
||||||
{
|
|
||||||
public static IApplicationBuilder UseGlobalExceptionHandler(this IApplicationBuilder app)
|
|
||||||
{
|
|
||||||
app.UseMiddleware<GlobalExceptionHandlerMiddleware>();
|
|
||||||
return app;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user