林豪 左 пре 2 година
родитељ
комит
a63fab25d8
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      ServiceCenter/WebApi/APICaller.cs

+ 1 - 0
ServiceCenter/WebApi/APICaller.cs

@@ -109,6 +109,7 @@ namespace ServiceCenter.WebApi
             catch (Exception ex)
             {
                 LogHub.InterfacePublish(name, $"{DateTime.Now.yyyyMMddhhmmssf()}--[{Thread.CurrentThread.ManagedThreadId}]--接口{name}调用错误:{ex.StackTrace}");
+                throw new Exception(ex.Message);
             }
         }
     }