mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-12 16:26:37 +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
|
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