Browse Source

修改CRF出错输出入参

zhoutg 3 năm trước cách đây
mục cha
commit
f816c26f2b

+ 2 - 1
src/main/java/com/diagbot/client/hystrix/CRFServiceHystrix.java

@@ -1,6 +1,7 @@
 package com.diagbot.client.hystrix;
 
 import com.diagbot.client.CRFServiceClient;
+import com.diagbot.util.GsonUtil;
 import com.diagbot.vo.CRFVo;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Component;
@@ -11,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
 public class CRFServiceHystrix implements CRFServiceClient {
     @Override
     public String getAnnotation(@RequestBody CRFVo crfVo) {
-        log.error("CRF解析文本【超时】或【服务出错】");
+        log.error("CRF解析文本【超时】或【服务出错】,参数如下{}", GsonUtil.toJson(crfVo));
         return null;
     }
 }