1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 03:53:50 +08:00

update post error.

This commit is contained in:
Mrs4s 2020-09-07 05:13:38 +08:00
parent a417ff0881
commit a26681a4d9

View File

@ -205,7 +205,7 @@ func (c *httpClient) onBotPushEvent(m coolq.MSG) {
return h return h
}()).SetTimeout(time.Second * time.Duration(c.timeout)).Do() }()).SetTimeout(time.Second * time.Duration(c.timeout)).Do()
if err != nil { if err != nil {
log.Warnf("上报Event数据到 %v 失败: %v", c.addr, err) log.Warnf("上报Event数据 %v 到 %v 失败: %v", m.ToJson(), c.addr, err)
return return
} }
if gjson.Valid(res) { if gjson.Valid(res) {