林豪 左 2 lat temu
rodzic
commit
a63fab25d8
1 zmienionych plików z 1 dodań i 0 usunięć
  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);
             }
         }
     }