章政 8 жил өмнө
parent
commit
317770b723

+ 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());