mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 20:07:52 +02:00
Rephrase log message that causes sporadic test failures
This commit is contained in:
parent
dbb555e20c
commit
56995aa255
@ -31,7 +31,7 @@ func UpdateReleaseVersion() error {
|
|||||||
return fmt.Errorf("failed to read github API response body: %w", err)
|
return fmt.Errorf("failed to read github API response body: %w", err)
|
||||||
}
|
}
|
||||||
if resp.StatusCode == 403 && strings.Contains(string(respBody), "API rate limit exceeded for ") {
|
if resp.StatusCode == 403 && strings.Contains(string(respBody), "API rate limit exceeded for ") {
|
||||||
fmt.Printf("failed to update release version due to 403 err, body=%#v\n", string(respBody))
|
fmt.Printf("skipping updating release version due to 403 rate limiting err, body=%#v\n", string(respBody))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if resp.StatusCode != 200 {
|
if resp.StatusCode != 200 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user