林豪 左 2 anni fa
parent
commit
a63fab25d8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);
             }
         }
     }