Skip to content

Commit

Permalink
删除多日志
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyanbo authored and jinyanbo committed Jun 16, 2021
1 parent 1b94564 commit 9734c84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion common/spider/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ func (a *ApiSpider) getResponse(request Request) ([]byte, http.Header, error) {
}
buff, err := UnZipHttpResp(response, a.size)
if err != nil {
logs.S.Errorw("读取响应数据出错", "err:", err.Error())
return nil, nil, err
}
return buff, response.Header, nil
Expand Down
1 change: 0 additions & 1 deletion common/spider/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ func (f *FileSpider) getResponse(request Request) ([]byte, error) {
}
buff, err := UnZipHttpResp(response, f.size)
if err != nil {
logs.S.Errorw("读取响应数据出错", "err:", err.Error())
return nil, err
}
return buff, nil
Expand Down

0 comments on commit 9734c84

Please sign in to comment.