From cb7ed41296cfab182ec0f7d71b4b7573faddbf9c Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:12:19 -0500 Subject: [PATCH] fix(api): ensure exception handling middleware is correctly registered --- src/FiscalOS.API/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FiscalOS.API/Program.cs b/src/FiscalOS.API/Program.cs index 4a1118b..21dd25c 100644 --- a/src/FiscalOS.API/Program.cs +++ b/src/FiscalOS.API/Program.cs @@ -40,9 +40,9 @@ app.UseHttpsRedirection(); app.UseAuthentication(); app.UseAuthorization(); app.UseStatusCodePages(); +app.UseExceptionHandler(); app.MapDefaultEndpoints(); - app.MapAuthEndpoints(); app.MapAccountsEndpoints(); app.MapInstitutionsEndpoints();