浏览代码

Merge branch 'master' of ssh://10.10.101.21/source/mes-client

Hcsy 8 年之前
父节点
当前提交
3563550311
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      UAS-MES/PublicMethod/Print.cs

+ 2 - 2
UAS-MES/PublicMethod/Print.cs

@@ -74,9 +74,9 @@ namespace UAS_MES.PublicMethod
                     //    }
                     //}
                 }
-                catch (System.Exception)
+                catch (System.Exception ex)
                 {
-                    BaseUtil.ShowError("SQL" + sql + "维护不正确");
+                    BaseUtil.ShowError(ex.Message);
                 }
             }
             LogManager.DoLog(sb.ToString());