林豪 左 2 년 전
부모
커밋
e328e28f72
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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
             {