Skip to content

Commit 372ef30

Browse files
Address AI feedback 2
Signed-off-by: Lukasz Gryglicki <[email protected]> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent 6b42b81 commit 372ef30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cla-backend-go/v2/signatures/zip_builder.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package signatures
55

66
import (
77
"bytes"
8+
"errors"
89
"fmt"
910
"net/http"
1011
"strings"
@@ -155,6 +156,7 @@ func (z *Zipper) buildPDFZip(claType string, claGroupID string) error {
155156
if listErr := <-listErrCh; listErr != nil {
156157
if cerr := writer.Close(); cerr != nil {
157158
log.Warnf("zip writer close failed: %v", cerr)
159+
return errors.Join(listErr, cerr)
158160
}
159161
return listErr
160162
}

0 commit comments

Comments
 (0)