mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
发送事件,增加打印日志
This commit is contained in:
@@ -61,6 +61,7 @@ public class EventDataSender implements IEventDataSender{
|
|||||||
String responseStr = okHttpUtil.doPostJson(url, json,headers);
|
String responseStr = okHttpUtil.doPostJson(url, json,headers);
|
||||||
if(responseStr.indexOf("\"status\":200")==-1) {
|
if(responseStr.indexOf("\"status\":200")==-1) {
|
||||||
log.error("发送事件失败:"+responseStr);
|
log.error("发送事件失败:"+responseStr);
|
||||||
|
log.info("【发送的token】"+headers[0]+": "+headers[1]);
|
||||||
}
|
}
|
||||||
}catch(Exception e) {
|
}catch(Exception e) {
|
||||||
log.error("发送事件错误",e);
|
log.error("发送事件错误",e);
|
||||||
|
|||||||
Reference in New Issue
Block a user