This commit is contained in:
Zheng Kai
2023-03-31 12:18:23 +08:00
parent a0fe0b26ee
commit d2bede241b
5 changed files with 19 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ func (pr *row) fetchRemote() (ab []byte, ok bool, err error) {
}
if rsp.StatusCode >= 200 || rsp.StatusCode < 300 {
// ok = true
ok = true
} else {
err = fmt.Errorf(`status code fail: %d`, rsp.StatusCode)
b.WriteString(err.Error())