chore: update

This commit is contained in:
henry.chen
2024-05-28 13:09:10 +08:00
parent 88f23bd1a0
commit 720387ecd5

View File

@@ -43,6 +43,7 @@ var feedrPingFunc = func(btitle, slug string) error {
// rpcPingParam ping to rpc, eg. google baidu // rpcPingParam ping to rpc, eg. google baidu
// params: // params:
//
// BlogName string `xml:"param>value>string"` // BlogName string `xml:"param>value>string"`
// HomePage string `xml:"param>value>string"` // HomePage string `xml:"param>value>string"`
// Article string `xml:"param>value>string"` // Article string `xml:"param>value>string"`
@@ -93,7 +94,7 @@ var rpcPingFunc = func(btitle, slug string) error {
continue continue
} }
if resp.StatusCode != 200 { if resp.StatusCode != 200 {
logrus.Error("rpcPingFunc.failed: ", string(data)) logrus.Error("rpcPingFunc.failed: ", string(data), resp.StatusCode)
} }
} }
return nil return nil