Skip to content

Commit

Permalink
rmv err check
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Mar 9, 2024
1 parent 3707045 commit d38ff81
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions zboxcore/sdk/chunked_upload_blobber.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ func (sb *ChunkedUploadBlobber) sendUploadRequest(
}

respbody := resp.Body()
if err != nil {
logger.Logger.Error("Error: Resp ", err)
return fmt.Errorf("Error while reading body. Error %s", err), false
}

if resp.StatusCode() == http.StatusTooManyRequests {
logger.Logger.Error("Got too many request error")
var r int
Expand Down

0 comments on commit d38ff81

Please sign in to comment.