mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-12 16:26:37 +00:00
Merge pull request #2715 from plouj/master
FetchLatestReleases: fix the error log message
This commit is contained in:
commit
e267bf3e09
@ -56,7 +56,7 @@ func FetchLatestReleases(releasesURL, version string) []Release {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if resp.StatusCode > 299 {
|
if resp.StatusCode > 299 {
|
||||||
l.Infoln("API call returned HTTP error: %s", resp.Status)
|
l.Infoln("API call returned HTTP error:", resp.Status)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user