diff options
| author | Jeff Carr <[email protected]> | 2025-09-05 01:52:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-05 01:52:54 -0500 |
| commit | 4efd88947cc7abd2e42d7d4e6e9fb1ce81def8e0 (patch) | |
| tree | 7f514228fb892f151cb57d2c5dfe32390393c702 /wget.go | |
| parent | e621f228badee0f27d04055cfe4381264bdf2abf (diff) | |
Diffstat (limited to 'wget.go')
| -rw-r--r-- | wget.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ func Wget(url string) *bytes.Buffer { log.Log(INFO, "res.StatusCode: %d\n", resp.StatusCode) if resp.StatusCode != 200 { - handleError(fmt.Errorf(fmt.Sprintf("%d", resp.StatusCode)), -1) + handleError(fmt.Errorf("%d", resp.StatusCode), -1) return nil } |
