浏览代码

修改了一些日志

chenjiangqun 2 年之前
父节点
当前提交
27c6b750e9
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      FactoryTool_CShare/Business/V2Method.cs
  2. 1 1
      FactoryTool_CShare/Views/OperationPanel.cs

+ 1 - 1
FactoryTool_CShare/Business/V2Method.cs

@@ -1032,7 +1032,7 @@ namespace MOKA_Factory_Tools
                         }
                         if (DSN == "" || DSN == null)
                         {
-                            MessageBox.Show("查不到该SN对应的主板DSN号");
+                            Log.WriteInfoLog("Detail message:" + SN+"\r\n" + item.URL + "\r\n"+hResult.Html);
                             return false;
                         }
                         Log.WriteInfoLog("PartSN" + DSN);

+ 1 - 1
FactoryTool_CShare/Views/OperationPanel.cs

@@ -2464,7 +2464,7 @@ namespace MOKA_Factory_Tools
                             {
                                 if (!V2Method.GetDSNFromSmes(SN, out GetSmesDSN))
                                 {
-                                    ErrMsg = string.Format("GetDSNFromSmes error!\r\n{0}", keyInfo.DSN.data);
+                                    ErrMsg = string.Format("{0} GetDSNFromSmes error!IDMDSN:{1},SmesDSN:{2}\r\n", SN,keyInfo.DSN.data,"");
                                     Log.WriteErrorLog(ErrMsg);
                                     goto end;
                                 }