fix tests vs running

This commit is contained in:
bel
2025-05-05 21:32:26 -06:00
parent 352eff2691
commit 0e3e6c54de
2 changed files with 4 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ func proxyFetch(ctx context.Context, u string) (string, error) {
b, _ := io.ReadAll(resp.Body)
if resp.StatusCode != http.StatusOK {
return "", fmt.Errorf("failed fetch: (%d) %s", resp.StatusCode, b)
return "", fmt.Errorf("failed fetch %s %s: (%d) %s", req.Method, req.URL.String(), resp.StatusCode, b)
}
return string(b), nil