Skip to content

Commit

Permalink
debug close with error
Browse files Browse the repository at this point in the history
  • Loading branch information
teqwve committed Jan 26, 2024
1 parent ac8a2a8 commit 0f398e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uploader/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (u *Base) compress(data *io.PipeReader, filename string) io.Reader {
_, err := io.Copy(gw, data)
if err != nil {
data.CloseWithError(err)
pw.CloseWithError(err)
// pw.CloseWithError(err)
} else {
data.Close()
gw.Close()
Expand Down

0 comments on commit 0f398e2

Please sign in to comment.