Skip to content

Commit 7ce6ba2

Browse files
feat: log unknown s3 error
1 parent edb4dfb commit 7ce6ba2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/server/handler_batch.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func (s *Server) batchGetPlugins(w http.ResponseWriter, r *http.Request) {
161161

162162
var s3ResponseError *awshttp.ResponseError
163163
if !errors.As(err, &s3ResponseError) || s3ResponseError.HTTPStatusCode() != http.StatusNotFound {
164+
reqLogger.Errorf("could not check if plugin archive exists: %v", err)
164165
s.writeJSONError(w, r, http.StatusInternalServerError, err, "could not check if plugin archive exists")
165166
return
166167
}

0 commit comments

Comments
 (0)