Explorar el Código

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

Hcsy hace 8 años
padre
commit
3563550311
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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());