From 0f398e27793a5071973ac27e9b34380842fe28fd Mon Sep 17 00:00:00 2001 From: Tadeusz Dudkiewicz Date: Fri, 26 Jan 2024 14:29:30 +0100 Subject: [PATCH] debug close with error --- uploader/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/base.go b/uploader/base.go index 328819fa..ec8a7664 100644 --- a/uploader/base.go +++ b/uploader/base.go @@ -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()