From 0d771ae9ff94836963485da29a8c5779db9a4ba2 Mon Sep 17 00:00:00 2001 From: Yiru Date: Mon, 6 Jan 2025 19:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=AF=AB=E5=85=A5NG=5FInf?= =?UTF-8?q?o=5FAlert=5FMaster/NG=5FInfo=5FAlert=5FDetail=20=E5=9B=9E?= =?UTF-8?q?=E5=82=B3=E7=9A=84Except=E8=A8=8A=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/AMES/NgInfoAlertDetailController.cs | 2 +- .../Controllers/AMES/NgInfoAlertMasterController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs index 8e8d27d4..b48b9895 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs @@ -91,7 +91,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES catch (Exception ex) { result.Success = false; - result.Msg = ex.InnerException.Message; + result.Msg = ex.InnerException.InnerException.Message; } return result; } diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs index f918d614..e59f3872 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs @@ -99,7 +99,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES catch (Exception ex) { result.Success = false; - result.Msg = ex.InnerException.Message; + result.Msg = ex.InnerException.InnerException.Message; } return result; }