NewLife/XCoder

优化删除异常日志
大石头 authored at 2019-01-14 09:43:52
2f76a54
Tree
1 Parent(s) 5bc2555
Summary: 1 changed files with 2 additions and 2 deletions.
Modified +2 -2
Modified +2 -2
diff --git a/XCoder/FolderInfo/FrmMain.cs b/XCoder/FolderInfo/FrmMain.cs
index 5a453fc..a2c5899 100644
--- a/XCoder/FolderInfo/FrmMain.cs
+++ b/XCoder/FolderInfo/FrmMain.cs
@@ -299,7 +299,7 @@ namespace XCoder.FolderInfo
                 }
                 catch (Exception ex)
                 {
-                    BizLog.Error(ex?.GetTrue().ToString());
+                    BizLog.Error(ex.Message);
                 }
             }
             // 递归子目录
@@ -314,7 +314,7 @@ namespace XCoder.FolderInfo
             }
             catch (Exception ex)
             {
-                BizLog.Error(ex?.GetTrue().ToString());
+                BizLog.Error(ex.Message);
             }
         }
         #endregion