this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

palomar: log opensearch error JSON

+4 -1
+4 -1
search/query.go
··· 228 228 } 229 229 defer res.Body.Close() 230 230 if res.IsError() { 231 - ioutil.ReadAll(res.Body) 231 + raw, err := ioutil.ReadAll(res.Body) 232 + if nil == err { 233 + slog.Warn("search query error", "resp", string(raw), "status_code", res.StatusCode) 234 + } 232 235 return nil, fmt.Errorf("search query error, code=%d", res.StatusCode) 233 236 } 234 237