From 0a379b1772ea76fe6a7a53396a3c9a614b29df1b Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 14 六月 2024 17:00:13 +0800
Subject: [PATCH] 1

---
 Wms_09/Wms_09/Startup.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Wms_09/Wms_09/Startup.cs b/Wms_09/Wms_09/Startup.cs
index 79b302e..fceccbb 100644
--- a/Wms_09/Wms_09/Startup.cs
+++ b/Wms_09/Wms_09/Startup.cs
@@ -124,7 +124,7 @@
                     c.RoutePrefix = string.Empty;
                 });
             }
-
+            app.UseExceptionMiddleware();
             //app.UseHttpsRedirection();
 
             app.UseRouting();

--
Gitblit v1.8.0