mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
FetchLatestReleases: fix the error log message
This commit is contained in:
parent
6cce073da5
commit
39c5c8c1d1
@ -56,7 +56,7 @@ func FetchLatestReleases(releasesURL, version string) []Release {
|
||||
return nil
|
||||
}
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user