Sfoglia il codice sorgente

添加DBFind日志记录

章政 8 anni fa
parent
commit
7d8b2d8b4f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      UAS-MES/DbFind.cs

+ 2 - 1
UAS-MES/DbFind.cs

@@ -215,8 +215,9 @@ namespace UAS_MES
                 }
                 MainControl.Focus();
             }
-            catch (Exception)
+            catch (Exception ex)
             {
+                LogManager.DoLog(ex.Message);
                 SuccessReturnData = false;
             }
             Dispose();