Browse Source

DBFind双击赋值异常捕获

Hcsy 8 years ago
parent
commit
b3087d6411
1 changed files with 4 additions and 1 deletions
  1. 4 1
      UAS-MES/DbFind.cs

+ 4 - 1
UAS-MES/DbFind.cs

@@ -94,7 +94,9 @@ namespace UAS_MES
                     IsAbleDbFind = true;
                 }
             }
-            catch (Exception) { IsAbleDbFind = false; }
+            catch (Exception) {
+
+                IsAbleDbFind = false; }
         }
 
         protected override void WndProc(ref Message m)
@@ -185,6 +187,7 @@ namespace UAS_MES
             }
             catch (Exception ea)
             {
+                LogManager.DoLog(ea.Message);
                 SuccessReturnData = false;
             }
             Dispose();