fix(api): ensure exception handling middleware is correctly registered
This commit is contained in:
1 parent
a168d318b2
commit
cb7ed41296
1 file changed
+1
-1
@@ -40,9 +40,9 @@ app.UseHttpsRedirection();
|
|||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
app.UseAuthorization();
|
app.UseAuthorization();
|
||||||
app.UseStatusCodePages();
|
app.UseStatusCodePages();
|
||||||
|
app.UseExceptionHandler();
|
||||||
|
|
||||||
app.MapDefaultEndpoints();
|
app.MapDefaultEndpoints();
|
||||||
|
|
||||||
app.MapAuthEndpoints();
|
app.MapAuthEndpoints();
|
||||||
app.MapAccountsEndpoints();
|
app.MapAccountsEndpoints();
|
||||||
app.MapInstitutionsEndpoints();
|
app.MapInstitutionsEndpoints();
|
||||||
|
|||||||
Reference in new issue
Block a user