From be1190971319d9c6f7ee553de9b27885e2c90e8b Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期三, 14 八月 2024 15:48:45 +0800
Subject: [PATCH] 陆工,增加异常过滤

---
 MESApplication/Controllers/Base/DemoController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MESApplication/Controllers/Base/DemoController.cs b/MESApplication/Controllers/Base/DemoController.cs
index ce0eaba..0a28eae 100644
--- a/MESApplication/Controllers/Base/DemoController.cs
+++ b/MESApplication/Controllers/Base/DemoController.cs
@@ -3,7 +3,6 @@
 using MES.Service.util;
 using Microsoft.AspNetCore.Mvc;
 using Newtonsoft.Json.Linq;
-
 namespace MESApplication.Controllers.Base;
 
 [Route("api/[controller]")]
@@ -28,6 +27,7 @@
         }
         catch (Exception ex)
         {
+            throw ex;
             return ResponseResult.ResponseError(ex);
         }
     }

--
Gitblit v1.9.3