林豪 左 %!s(int64=2) %!d(string=hai) anos
pai
achega
a63fab25d8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
             }
         }
     }