From d811e775f550e65f4af420806e3d7a12c0c334bc Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期一, 26 八月 2024 16:58:41 +0800
Subject: [PATCH] 合并

---
 Tiger.Business.MES/WorkAction/Weighing.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/Weighing.cs b/Tiger.Business.MES/WorkAction/Weighing.cs
index 73be11e..3b0fac9 100644
--- a/Tiger.Business.MES/WorkAction/Weighing.cs
+++ b/Tiger.Business.MES/WorkAction/Weighing.cs
@@ -124,7 +124,7 @@
             catch (System.Exception ex)
             {
                 action.Data.ShortMsg = new("绉伴噸寮傚父", ShortMessage.Types.Error);
-                action.CatchExceptionWithLog(ex, $"绉伴噸琛屼负锛氭潯鐮乕{CurPosition.CurSN}]绉伴噸鏁版嵁[{input?.Data.ToString()}]淇濆瓨寮傚父");
+                action.CatchExceptionWithLog(ex, $"绉伴噸琛屼负锛氭潯鐮乕{CurPosition.CurSN}]绉伴噸鏁版嵁[{input?.Data?.ToString()}]淇濆瓨寮傚父");
                 action.LocaleMsg = new("MES.WorkAction.Weighing.SaveWeightInfoException", CurPosition.CurSN, input?.Data.ToString());
             }
             return action;

--
Gitblit v1.9.3