林豪 左 před 2 roky
rodič
revize
e328e28f72
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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
             {