林豪 左 2 năm trước cách đây
mục cha
commit
e328e28f72
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      WCS.Core/DataTrans/DataBlock.cs

+ 2 - 1
WCS.Core/DataTrans/DataBlock.cs

@@ -1,4 +1,5 @@
 using DBHelper;
+using Logs;
 using System;
 using System.Collections;
 using System.Collections.Generic;
@@ -67,7 +68,7 @@ namespace WCS.Core
             {
                 sw.Stop();
                 failed = true;
-                throw;
+                throw new Exception($"[Type:{ex.GetType().Name}][StackTrace:{ex.StackTrace}][Message:{ex.Message.Replace("\r\n", " ")}]");
             }
             finally
             {