Don't panic if we cannot fetch current version from github

This commit is contained in:
Justin Hawkins 2022-06-09 20:20:31 +09:30
parent 0bc777c6f1
commit 0c3bf0701d

View File

@ -55,7 +55,7 @@ func UpdateVersionInfo() {
rels, _, err := client.Repositories.ListReleases(context.Background(), "tardisx", "linkwallet", nil)
if err != nil {
panic(err)
return
}
if len(rels) == 0 {
return